/* CSS Reset og Base Styles - Sort med Lilla Accents */
:root {
    --primary-black: #000000;
    --dark-black: #0a0a0a;
    --medium-black: #1a1a1a;
    --light-black: #2a2a2a;
    --accent-purple: #8a2be2;
    --light-purple: #c4b5fd;
    --text-light: #f8fafc;
    --text-gray: #94a3b8;
    --bg-dark: #050505;
    --bg-card: #0f0f0f;
    --border-color: #262626;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Sort Design */
header {
    background-color: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
}

nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 8px 0;
    font-size: 15px;
}

.nav-link:hover {
    color: var(--light-purple);
}

.nav-link.active {
    color: var(--accent-purple);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-purple);
    border-radius: 2px;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 220px;
    display: none;
    flex-direction: column;
    z-index: 1001;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    padding: 8px 0;
}

.dropdown:hover .dropdown-menu {
    display: flex;
    animation: dropdownFade 0.3s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu a {
    color: var(--text-gray);
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    transition: all 0.2s;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background-color: rgba(138, 43, 226, 0.1);
    color: var(--light-purple);
    padding-left: 25px;
}

/* Auth Section */
.auth-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-auth {
    background-color: var(--accent-purple);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 14px;
}

.btn-auth:hover {
    background-color: #7c3aed;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.3);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.user-profile:hover {
    background-color: rgba(138, 43, 226, 0.1);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--light-purple);
}

/* Hero Section */
.hero {
    background-color: var(--primary-black);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(138, 43, 226, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

.hero-highlight {
    color: var(--accent-purple);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 20px;
    background-color: rgba(15, 15, 15, 0.5);
    border-radius: 10px;
    min-width: 120px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(5px);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-purple);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-gray);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.btn-primary {
    background-color: var(--accent-purple);
    color: white;
}

.btn-primary:hover {
    background-color: #7c3aed;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--light-purple);
    color: var(--light-purple);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-gray);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--light-purple);
    color: var(--light-purple);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
}

.section.dark {
    background-color: var(--bg-card);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-light);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--accent-purple);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-gray);
    font-size: 16px;
    max-width: 600px;
    margin: 20px auto 0;
}

/* Server Status */
.server-status {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.status-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--success);
    box-shadow: 0 0 10px var(--success);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

.status-text {
    font-weight: 600;
    color: var(--success);
}

.server-ip {
    color: var(--text-light);
    font-family: monospace;
    font-size: 15px;
    background-color: rgba(138, 43, 226, 0.1);
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.player-info {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.player-count, .server-version {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    padding: 10px 15px;
    background-color: rgba(15, 15, 15, 0.5);
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

/* Quick Links */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.quick-link {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.quick-link:hover {
    border-color: var(--accent-purple);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.2);
}

.quick-icon {
    font-size: 36px;
    color: var(--accent-purple);
    margin-bottom: 20px;
}

.quick-link h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.quick-link p {
    color: var(--text-gray);
    font-size: 14px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
    border-color: var(--accent-purple);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.2);
}

.feature-icon {
    font-size: 40px;
    color: var(--accent-purple);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.feature-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: var(--primary-black);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-light);
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-purple);
}

.footer-section a {
    display: block;
    color: var(--text-gray);
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.3s;
    padding: 5px 0;
}

.footer-section a:hover {
    color: var(--light-purple);
    padding-left: 5px;
}

.footer-section p {
    color: var(--text-gray);
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: var(--text-gray);
    font-size: 18px;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
}

.footer-social a:hover {
    color: var(--light-purple);
    border-color: var(--light-purple);
    transform: translateY(-2px);
}

/* Application Forms */
.application-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-weight: 500;
    font-size: 14px;
}

label.required::after {
    content: ' *';
    color: var(--danger);
}

input, textarea, select {
    width: 100%;
    padding: 12px 16px;
    background-color: rgba(15, 15, 15, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-light);
    font-size: 15px;
    transition: all 0.3s;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent-purple);
    background-color: rgba(15, 15, 15, 0.8);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.form-info {
    background-color: rgba(138, 43, 226, 0.1);
    border-left: 3px solid var(--accent-purple);
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 0 6px 6px 0;
}

.form-info p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

.submit-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Donation Tiers */
.donation-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.donation-tier {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.donation-tier:hover {
    border-color: var(--accent-purple);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.2);
}

.tier-icon {
    font-size: 48px;
    color: var(--accent-purple);
    margin-bottom: 20px;
}

.tier-price {
    font-size: 32px;
    font-weight: 700;
    margin: 20px 0;
    color: var(--accent-purple);
}

.tier-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.tier-features li {
    padding: 8px 0;
    color: var(--text-gray);
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.tier-features li:last-child {
    border-bottom: none;
}

.tier-features li i {
    color: var(--accent-purple);
    margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero {
        padding-top: 140px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .server-status {
        flex-direction: column;
        text-align: center;
    }
    
    .player-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== REGLER SIDE STYLES ===== */

.rules-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.rules-search {
    margin-bottom: 30px;
    position: relative;
}

.rules-search input {
    width: 100%;
    padding: 15px 20px;
    background-color: rgba(15, 15, 15, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 16px;
    transition: all 0.3s;
    padding-left: 50px;
}

.rules-search input:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.15);
    background-color: rgba(15, 15, 15, 0.8);
}

.rules-search::before {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-purple);
    font-size: 16px;
}

.rules-category {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.rules-category:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.rules-category h3 {
    color: var(--text-light);
    font-size: 24px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-purple);
    display: flex;
    align-items: center;
    gap: 10px;
}

.rules-category h3 i {
    color: var(--accent-purple);
}

.rule-item {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.5), rgba(15, 15, 15, 0.3));
    border-left: 4px solid var(--accent-purple);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.rule-item:hover {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.15), rgba(26, 26, 26, 0.5));
    transform: translateX(5px);
}

.rule-item h4 {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rule-item h4::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--accent-purple);
    border-radius: 50%;
}

.rule-item p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.rule-item .rule-punishment {
    display: inline-block;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.1));
    color: var(--danger);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 10px;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.rules-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.rules-agreement {
    background-color: rgba(138, 43, 226, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.rules-agreement p {
    color: var(--text-light);
    font-size: 15px;
    margin: 0;
}

/* ===== ANSØGNINGER SIDE STYLES ===== */

.application-status-auth {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
    border: 1px solid;
}

.status-authenticated {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.1));
    border-color: var(--success);
}

.status-authenticated p {
    color: var(--text-light);
    margin: 0;
    font-size: 16px;
}

.status-authenticated i {
    color: var(--success);
    margin-right: 8px;
}

.status-not-authenticated {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.1));
    border-color: var(--danger);
}

.status-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.1));
    border-color: var(--warning);
}

.status-warning p {
    color: var(--text-light);
    margin: 0;
    font-size: 16px;
}

.status-warning i {
    color: var(--warning);
    margin-right: 8px;
}

.applications-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.application-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.application-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(138, 43, 226, 0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.application-card:hover::before {
    transform: translateX(100%);
}

.application-card:hover {
    border-color: var(--accent-purple);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.25);
}

.application-icon {
    font-size: 36px;
    color: var(--accent-purple);
    margin-bottom: 20px;
}

.application-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.application-card p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.application-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-gray);
    font-size: 13px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.application-meta i {
    margin-right: 5px;
}

.application-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.status-open {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.1));
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-closed {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.1));
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ===== ANSØGNINGSFORMULAR STYLES ===== */

.application-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.application-header {
    background: linear-gradient(135deg, var(--accent-purple), #7c3aed);
    padding: 30px;
    border-radius: 10px 10px 0 0;
    text-align: center;
    margin-bottom: 20px;
}

.application-header h1 {
    color: white;
    font-size: 32px;
    margin-bottom: 10px;
}

.application-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.application-instructions {
    background-color: rgba(138, 43, 226, 0.1);
    border-left: 4px solid var(--accent-purple);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 0 8px 8px 0;
}

.application-instructions h3 {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 18px;
}

.application-instructions ul {
    list-style: none;
    padding-left: 0;
}

.application-instructions li {
    color: var(--text-gray);
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
}

.application-instructions li::before {
    content: '•';
    color: var(--accent-purple);
    position: absolute;
    left: 0;
}

.form-section {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

.form-section h3 {
    color: var(--text-light);
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-purple);
}

.character-preview {
    background-color: rgba(15, 15, 15, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.character-preview h4 {
    color: var(--text-light);
    margin-bottom: 15px;
}

.preview-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.preview-item {
    background-color: rgba(26, 26, 26, 0.5);
    padding: 10px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.preview-item label {
    display: block;
    color: var(--accent-purple);
    font-size: 12px;
    margin-bottom: 5px;
    font-weight: 600;
}

.preview-item span {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== POLITI IKOON ===== */

.fa-user-police {
    position: relative;
}

.fa-user-police::before {
    content: '\f5dd';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

/* ===== RESPONSIVE STYLES ===== */

@media (max-width: 768px) {
    .rules-container,
    .application-form,
    .application-header {
        padding: 20px;
    }
    
    .rules-category h3 {
        font-size: 20px;
    }
    
    .rule-item {
        padding: 15px;
    }
    
    .applications-overview {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .application-card {
        padding: 20px;
    }
    
    .preview-content {
        grid-template-columns: 1fr;
    }
}

/* ===== STAFF CONTACT INFO STYLES ===== */

.form-info {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.15), rgba(138, 43, 226, 0.08));
    border-left: 4px solid var(--accent-purple);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 0 8px 8px 0;
}

.form-info h3 {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-info h3 i {
    color: var(--accent-purple);
}

.form-info ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.form-info li {
    color: var(--text-gray);
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
    font-size: 14px;
    line-height: 1.6;
}

.form-info li::before {
    content: '→';
    color: var(--accent-purple);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.form-info li:last-child {
    margin-bottom: 0;
}

.form-info p {
    color: var(--text-gray);
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

/* Alternativ layout hvis der er billede i */
.form-info.with-image {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
}

.form-info.with-image img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--accent-purple);
    flex-shrink: 0;
}

.form-info-content {
    flex: 1;
}

/* ===== MODAL STYLES - Discord Auth & Staff Contact ===== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal.active,
.modal.show {
    display: flex;
}

.modal-content {
    background: linear-gradient(145deg, var(--bg-card), var(--dark-black));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    animation: modalSlideIn 0.3s ease forwards;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--accent-purple), #6b21a8);
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h3 i {
    font-size: 24px;
}

.close-modal {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    padding: 0;
    line-height: 1;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px 25px;
    text-align: center;
}

.modal-body p {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Discord Button i Modal */
.btn-discord {
    background: linear-gradient(135deg, #5865F2, #4752c4);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
    background: linear-gradient(135deg, #4752c4, #3b46b5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}

.btn-discord i {
    font-size: 20px;
}

/* Staff Modal Specifik */
#staffModal .modal-header {
    background: linear-gradient(135deg, #8a2be2, #6b21a8);
}

#staffModal .btn-primary {
    background: linear-gradient(135deg, var(--accent-purple), #6b21a8);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    transition: all 0.3s;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

#staffModal .btn-primary:hover {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.4);
}

#staffModal .btn-primary i {
    font-size: 20px;
}

/* Discord button i auth sektionen (header) */
.btn-auth {
    background: linear-gradient(135deg, var(--accent-purple), #6b21a8);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.2);
}

.btn-auth:hover {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(138, 43, 226, 0.3);
}

.btn-auth i {
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-header h3 {
        font-size: 18px;
    }
    
    .modal-body {
        padding: 25px 20px;
    }
    
    .modal-body p {
        font-size: 15px;
    }
    
    .btn-discord,
    #staffModal .btn-primary {
        padding: 12px 20px;
        font-size: 15px;
    }
}

/* Animation for når modalen vises */
@keyframes modalPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(138, 43, 226, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(138, 43, 226, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(138, 43, 226, 0);
    }
}

.modal.active .modal-content {
    animation: modalSlideIn 0.4s ease, modalPulse 2s infinite;
}

/* Fjern pulse efter første gang */
.modal.active .modal-content {
    animation: modalSlideIn 0.4s ease;
}