@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Rajdhani:wght@400;500;700&display=swap');

:root {
    --royal-blue: #002366;
    --neon-blue: #005eff;
    --black: #050505;
    --dark-grey: #121212;
    --white: #ffffff;
    --robot-font: 'Orbitron', sans-serif;
    --scroll-distance: 0px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
    background-color: var(--black);
    background-image:
            radial-gradient(circle at 50% 0%, rgba(0, 94, 255, 0.15) 0%, transparent 50%),
            linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 30px 30px, 30px 30px;
    color: var(--white);
    font-family: 'Rajdhani', sans-serif;
    overflow-x: hidden;
}

.navbar {
    display: flex; flex-direction: column; padding: 0.8rem 5%;
    background: rgba(5, 5, 5, 0.9); backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--royal-blue); position: sticky; top: 0; z-index: 1000; gap: 15px;
    text-decoration: none;
}

.nav-brand-row { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 20px; }
.social-links { display: flex; gap: 15px; flex-shrink: 0; }
.social-links a { color: var(--white); font-size: 1.2rem; opacity: 0.6; transition: 0.3s; }

.nav-marquee { flex-grow: 1; overflow: hidden; mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent); max-width: 50%; display: flex; }
.nav-marquee-content { display: flex; gap: 4rem; align-items: center; white-space: nowrap; width: max-content; }

.nav-marquee-content img { height: 25px !important; width: auto !important; opacity: 0.5; filter: grayscale(1); object-fit: contain; }

@keyframes navScroll { from { transform: translateX(0); } to { transform: translateX(var(--scroll-distance)); } }

.logo-group { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo { font-family: var(--robot-font); font-size: 1.1rem; letter-spacing: 1px; }
.logo span { color: var(--neon-blue); text-shadow: 0 0 10px var(--neon-blue); }
.nav-logo-right { height: 32px; width: auto; filter: drop-shadow(0 0 5px var(--neon-blue)); }

.nav-links { display: flex; list-style: none; gap: 30px; justify-content: center; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.05); }
.nav-links a { text-decoration: none; color: var(--white); font-family: var(--robot-font); font-size: 0.8rem; transition: 0.3s; opacity: 0.6; }
.nav-links a.active { opacity: 1; color: var(--neon-blue); text-shadow: 0 0 8px var(--neon-blue); }

.container { padding: 2rem 8%; max-width: 1200px; margin: 0 auto; }
.content-section { animation: slideUp 0.4s ease-out; }
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.section-title { font-family: var(--robot-font); font-size: 1.5rem; border-left: 4px solid var(--royal-blue); padding-left: 15px; margin-bottom: 2rem; }
.highlight { color: var(--neon-blue); }

.about-card { background: rgba(18, 18, 18, 0.8); border: 1px solid #333; padding: 25px; border-radius: 8px; }
.specs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 2rem; }
.spec-item { background: rgba(0, 94, 255, 0.1); padding: 12px 18px; border-radius: 4px; border: 1px solid var(--royal-blue); font-family: var(--robot-font); font-size: 0.85rem; text-align: center; }
.spec-item strong { color: var(--neon-blue); margin-right: 5px; }

.about-narrative { border-top: 1px solid #333; padding-top: 2rem; color: #ccc; }
.about-narrative p { font-size: 1.1rem; line-height: 1.8; margin-bottom: 2rem; }
.about-image-block { margin-bottom: 2rem; text-align: center; width: 100%; overflow: hidden; }
.narrative-image {
    display: block; margin: 0 auto;
    width: 100% !important; max-width: 800px !important;
    height: auto !important; border-radius: 4px; border: 1px solid #444;
}
.robot-image { max-width: 500px !important; }
.image-caption { font-family: var(--robot-font); font-size: 0.7rem; color: #888; margin-top: 8px; letter-spacing: 1px; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.video-card-link { text-decoration: none; color: inherit; display: block; }
.video-card { background: rgba(18, 18, 18, 0.9); border: 1px solid #333; padding: 15px; border-radius: 8px; transition: 0.3s; }
.video-card-link:hover .video-card { border-color: var(--neon-blue); transform: translateY(-8px); }
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 4px; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.video-info h3 { margin-top: 15px; font-family: var(--robot-font); font-size: 1rem; }

.stats-card { background: linear-gradient(145deg, rgba(10,10,10,0.9), rgba(0,26,77,0.8)); border: 1px solid #333; padding: 25px; border-radius: 8px; margin-bottom: 30px; }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 15px 0; }
.report-section h4 { color: var(--neon-blue); font-size: 0.75rem; margin-bottom: 5px; font-family: var(--robot-font); }
.match-scroll { display: flex; flex-wrap: wrap; gap: 10px; margin: 15px 0; }
.match-card-wrapper { display: flex; align-items: center; gap: 6px; }
.match-badge { 
    font-size: 0.65rem; 
    padding: 8px 10px; 
    background: linear-gradient(135deg, #1a1a1a, #222);
    border-radius: 6px; 
    font-family: var(--robot-font); 
    line-height: 1.3; 
    text-align: center; 
    min-width: 60px;
    border: 1px solid #444;
    transition: 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    flex: 0 0 auto;
}
.match-badge:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.5); }
.match-badge.win { 
    border: 1px solid #00ff00;
    border-left: 3px solid #00ff00;
    color: #00ff00; 
    background: linear-gradient(135deg, rgba(0,255,0,0.05), rgba(0,255,0,0.1));
}
.match-badge.loss { 
    border: 1px solid #ff4444;
    border-left: 3px solid #ff4444;
    color: #ff4444; 
    background: linear-gradient(135deg, rgba(255,68,68,0.05), rgba(255,68,68,0.1));
}
.video-link { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    width: 24px; 
    height: 24px; 
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid #ff4444;
    border-radius: 4px;
    color: #ff4444;
    text-decoration: none;
    font-size: 0.7rem;
    transition: 0.2s;
    flex: 0 0 auto;
}
.donate {
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    color:white;
    text-shadow: 0 0 10px var(--neon-blue);;
}
.donate-image-container {
    display: flex;
    width: 100%;
    justify-content: center;
}
.donate-image {
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    width: 14rem; 
    background: rgba(17, 0, 255, 0.2);
    border: 1px solid royalblue;
    border-radius: 4px;
    color: #4495ff;
    text-decoration: none;
    font-size: 0.7rem;
    transition: 0.2s;
    flex: 0 0 auto;
}
.donate-text {
    text-align: center;
    width: 100%; 
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;;
}
.info {
    text-align: center;
    width: 100%; 
    color: #ffffff;
    text-decoration: none;
    font-size: 0.7rem;;
}
.video-link:hover { background: rgba(255, 0, 0, 0.4); transform: scale(1.1); }
.toggle-btn { background: rgba(0, 94, 255, 0.2); border: 1px solid var(--neon-blue); color: var(--neon-blue); padding: 4px 8px; border-radius: 4px; cursor: pointer; font-family: var(--robot-font); font-size: 0.75rem; transition: 0.2s; }
.toggle-btn:hover { background: rgba(0, 94, 255, 0.4); }
.award-tag { display: inline-block; background: rgba(255, 215, 0, 0.1); color: #ffd700; border: 1px solid #ffd700; padding: 4px 10px; border-radius: 4px; font-family: var(--robot-font); font-size: 0.65rem; margin-top: 5px; margin-right: 8px; text-transform: uppercase; }
.external-links { display: flex; gap: 10px; margin-top: 15px; }
.btn-link { text-decoration: none; color: #fff; background: rgba(255,255,255,0.05); padding: 6px 12px; border-radius: 4px; border: 1px solid #444; font-size: 0.7rem; font-family: var(--robot-font); transition: 0.3s; }
.btn-link:hover { background: var(--neon-blue); border-color: var(--neon-blue); }

.year-tabs-container { margin-bottom: 2rem; }
.year-tabs { display: flex; gap: 12px; flex-wrap: wrap; border-bottom: 2px solid rgba(0, 94, 255, 0.3); padding-bottom: 0; }
.year-tab { padding: 12px 20px; background: transparent; border: 2px solid #444; border-bottom: none; color: #888; font-family: var(--robot-font); font-size: 0.9rem; cursor: pointer; transition: 0.3s; border-radius: 4px 4px 0 0; }
.year-tab:hover { border-color: var(--neon-blue); color: var(--neon-blue); }
.year-tab.active { border-color: var(--neon-blue); color: var(--neon-blue); background: rgba(0, 94, 255, 0.1); text-shadow: 0 0 8px var(--neon-blue); }

@media screen and (max-width: 768px) {
    html { -webkit-text-size-adjust: 100%; }
    .nav-links a {font-size: 0.6rem;}
    .navbar { padding: 0.5rem 3%; }
    .nav-brand-row { flex-direction: column !important; align-items: center !important; gap: 12px; }
    .nav-marquee { max-width: 100% !important; width: 100% !important; margin: 5px 0; }
    .nav-marquee-content img { height: 18px !important; }
    .logo-group { order: -1; }
    .container { padding: 1rem 4%; }
    .specs-grid { grid-template-columns: 1fr !important; }
    .report-grid { grid-template-columns: 1fr !important; }
    .narrative-image { width: 100% !important; max-width: 100% !important; }
}

.countdown-timer {
    font-family: var(--robot-font);
    font-size: 4rem;
    color: var(--white);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    margin: 20px 0;
    letter-spacing: 2px;
}

.match-details {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.alliance-red { color: #ff4444; text-shadow: 0 0 10px rgba(255, 68, 68, 0.6); font-weight: bold; }
.alliance-blue { color: #005eff; text-shadow: 0 0 10px rgba(0, 94, 255, 0.6); font-weight: bold; }

.qr-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.qr-image {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 94, 255, 0.3);
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    .countdown-timer { font-size: 2.5rem; }
    .match-details { font-size: 1.2rem; }
}
