/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-yellow: #FFD700;
    --neon-yellow: #FFFF00;
    --dark-bg: #0a0a0a;
    --card-bg: #111111;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --shadow-glow: 0 0 20px rgba(255, 215, 0, 0.3);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-white);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-yellow);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    font-weight: bold;
}

.logo-text {
    font-size: 1.5rem;
    color: var(--primary-yellow);
    text-shadow: 0 0 10px var(--neon-yellow);
}

.logo-sub {
    font-size: 0.8rem;
    color: var(--text-gray);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 80%;
}

.login-btn {
    background: linear-gradient(135deg, var(--primary-yellow), #FFA500);
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    color: var(--dark-bg);
    font-weight: bold;
}

.login-btn::after {
    display: none;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    color: var(--dark-bg);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-yellow);
    margin: 3px 0;
    transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero-section {
    text-align: center;
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-yellow);
    text-shadow: 0 0 20px var(--neon-yellow);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--primary-yellow), #FFA500);
    color: var(--dark-bg);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button span {
    position: relative;
    z-index: 2;
}

.button-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3), transparent);
    animation: rotateGlow 3s linear infinite;
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

/* ===== INFO CARDS ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    position: relative;
    z-index: 1;
}

.info-card {
    background: var(--card-bg);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-yellow);
    box-shadow: var(--shadow-glow);
}

.info-card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--neon-yellow));
}

.card-title {
    font-size: 1.5rem;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.card-content {
    color: var(--text-white);
    font-size: 1.1rem;
}

.prize-amount {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-yellow);
}

/* ===== TIMELINE ===== */
.timeline-section {
    margin: 6rem 0;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-yellow);
    margin-bottom: 3rem;
    text-shadow: 0 0 20px var(--neon-yellow);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-yellow), transparent);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-yellow);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px var(--neon-yellow);
    z-index: 2;
}

.timeline-content {
    width: 45%;
    background: var(--card-bg);
    border: 2px solid rgba(255, 215, 0, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--primary-yellow);
    box-shadow: var(--shadow-glow);
}

.timeline-content h4 {
    color: var(--primary-yellow);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-gray);
}

/* ===== TABLES ===== */
.data-table {
    width: 100%;
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.3);
    margin: 2rem 0;
}

.data-table thead {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.2));
}

.data-table th {
    padding: 1rem;
    text-align: left;
    color: var(--primary-yellow);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.data-table td {
    padding: 1rem;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.data-table tbody tr {
    transition: all 0.3s ease;
}

.data-table tbody tr:hover {
    background: rgba(255, 215, 0, 0.05);
}

/* ===== FORMS ===== */
.form-container {
    max-width: 600px;
    margin: 2rem auto;
    background: var(--card-bg);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 3rem;
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--primary-yellow);
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 5px;
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-yellow), #FFA500);
    color: var(--dark-bg);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

.submit-btn:active {
    transform: translateY(0);
}

/* ===== BUTTONS ===== */
.btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-yellow), #FFA500);
    color: var(--dark-bg);
}

.btn-success {
    background: linear-gradient(135deg, #00ff00, #00cc00);
    color: var(--dark-bg);
}

.btn-danger {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: var(--text-white);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* ===== ADMIN PANEL ===== */
.admin-header {
    background: var(--card-bg);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-section {
    background: var(--card-bg);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.team-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.team-card:hover {
    border-color: var(--primary-yellow);
    box-shadow: var(--shadow-glow);
}

.team-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--card-bg);
    border-top: 2px solid var(--primary-yellow);
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.footer p {
    color: var(--text-gray);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--card-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-left: 50px;
    }

    .timeline-dot {
        left: 20px;
        transform: translateX(0);
    }

    .timeline-content {
        width: 100%;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== ALERT MESSAGES ===== */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    font-weight: bold;
}

.alert-success {
    background: rgba(0, 255, 0, 0.1);
    border: 2px solid #00ff00;
    color: #00ff00;
}

.alert-error {
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid #ff0000;
    color: #ff0000;
}

.alert-info {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--primary-yellow);
    color: var(--primary-yellow);
}