@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0044ff;
    --secondary: #1a1a1a;
    --accent: #71b3f0;
    --dark: #0d0d0d;
    --darker: #050505;
    --text: #e8e8e8;
    --text-muted: #a0a0a0;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--darker);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
}

.hero {
    height: 70vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><rect fill="%230d0d0d"/></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 2px solid var(--primary);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(212, 175, 55, 0.03) 2px,
        rgba(212, 175, 55, 0.03) 4px
    );
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    /* ruimte tussen logo's en tekst */
    z-index: 1;
    max-width: 1200px;
    padding: 0 20px;
    text-align: center;
}

.hero-text {
    text-align: center;
}

.hero-logo {
    width: 150px;
    /* pas aan naar wens */
    height: auto;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 6em;
    font-weight: 900;
    letter-spacing: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.tagline {
    font-size: 1.3em;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

nav {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 25px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.nav-container {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.nav-btn {
    padding: 15px 40px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.4s ease;
    font-size: 0.95em;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    font-family: 'Inter', sans-serif;
}

.nav-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.4s ease;
}

.nav-btn:hover, .nav-btn.active {
    color: var(--primary);
}

.nav-btn.active::after {
    width: 80%;
}

.section {
    display: none;
    padding: 80px 0;
    animation: fadeIn 0.6s ease;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3em;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1em;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(13, 13, 13, 0.9) 100%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 0;
    padding: 50px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.discord-section {
    text-align: center;
    padding: 60px;
    background: linear-gradient(135deg, rgba(3, 31, 92, 0.1) 0%, rgba(0, 26, 255, 0.05) 100%);
    border: 2px solid #6485e0;
    margin: 40px 0;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 50px;
    background: var(--primary);
    color: var(--darker);
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.discord-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.discord-btn:hover::before {
    left: 100%;
}

.discord-btn:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
}

.form-group {
    margin-bottom: 30px;
}

label {
    display: block;
    margin-bottom: 12px;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85em;
}

input, textarea, select {
    width: 100%;
    padding: 16px 20px;
    background: rgba(13, 13, 13, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text);
    font-size: 1em;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(13, 13, 13, 0.8);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

button[type="submit"], button[type="button"] {
    padding: 18px 60px;
    background: var(--primary);
    border: none;
    color: var(--darker);
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    letter-spacing: 2px;
    text-transform: uppercase;
    width: 100%;
    margin-top: 20px;
}

button[type="submit"]:hover, button[type="button"]:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

/* Video Section Styles */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.video-item {
    background: rgba(13, 13, 13, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    overflow: hidden;
    transition: all 0.4s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-size: 1.3em;
    margin-bottom: 8px;
}

.video-info p {
    color: var(--text-muted);
    font-size: 0.95em;
}

.youtube-channel-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    background: #FF0000;
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s ease;
}

.youtube-channel-btn:hover {
    background: #CC0000;
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(255, 0, 0, 0.4);
}

/* Admin Panel Styles */
.admin-panel {
    display: none;
}

.admin-panel.show {
    display: block;
}

.login-form {
    max-width: 500px;
    margin: 0 auto;
}

.application-item, .news-item {
    background: rgba(13, 13, 13, 0.5);
    padding: 30px;
    margin-bottom: 25px;
    border-left: 3px solid var(--primary);
    transition: all 0.3s ease;
}

.application-item:hover, .news-item:hover {
    background: rgba(13, 13, 13, 0.7);
    transform: translateX(5px);
}

.application-item h3, .news-item h3 {
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.application-item p, .news-item p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.application-actions {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.btn-approve {
    background: #2d5016;
    border: 1px solid #4a7c2c;
}

.btn-approve:hover {
    background: #4a7c2c;
}

.btn-reject {
    background: #5c1a1a;
    border: 1px solid #8b2e2e;
}

.btn-reject:hover {
    background: #8b2e2e;
}

.btn-small {
    padding: 12px 30px;
    font-size: 0.85em;
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    width: auto;
    margin-top: 0;
}

.news-date {
    color: var(--text-muted);
    font-size: 0.85em;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.logout-btn {
    background: var(--secondary);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 10px 25px;
    font-size: 0.85em;
    color: var(--text);
}

.logout-btn:hover {
    background: rgba(212, 175, 55, 0.1);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.admin-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    color: var(--primary);
    margin: 40px 0 20px 0;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.admin-section-title:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.status-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 3px;
    font-size: 0.85em;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.status-pending {
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary);
}

.status-approved {
    background: rgba(77, 124, 44, 0.2);
    color: #4a7c2c;
}

.status-rejected {
    background: rgba(139, 46, 46, 0.2);
    color: #8b2e2e;
}

footer {
    background: var(--darker);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 40px 0;
    text-align: center;
    margin-top: 80px;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9em;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        font-size: 3em;
        letter-spacing: 4px;
    }

    .tagline {
        font-size: 1em;
    }

    .section-title {
        font-size: 2em;
    }

    .card {
        padding: 30px 25px;
    }

    .nav-btn {
        padding: 12px 20px;
        font-size: 0.85em;
    }

    .container {
        padding: 0 20px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .application-actions {
        flex-direction: column;
    }

    .btn-small {
        width: 100%;
    }

    .admin-header {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh;
    }

    .logo {
        font-size: 2em;
    }

    .tagline {
        font-size: 0.85em;
        letter-spacing: 2px;
    }

    .discord-section {
        padding: 30px 20px;
    }
}