:root {
    --mtc-gold: #D4AF37;
    --mtc-gold-dim: #AA8C2C;
    --mtc-red: #C62828;
    --mtc-dark: #05080d;
    --mtc-navy: #0e141f;
    --text-light: #ecf0f1;
    --text-dim: #bdc3c7;
    --glass: rgba(14, 20, 31, 0.7);
    --glass-border: rgba(212, 175, 55, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--mtc-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Texture */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjMDUwODBkIi8+CjxyZWN0IHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz4KPC9zdmc+');
    z-index: -1;
    pointer-events: none;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(5, 8, 13, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mtc-logo {
    height: 60px;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}

.logo-text h1 {
    font-family: 'Orbitron', sans-serif;
    color: var(--mtc-gold);
    font-size: 1.8rem;
    letter-spacing: 2px;
    line-height: 1;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    font-size: 0.9rem;
}

nav a:hover {
    color: var(--mtc-gold);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.hero h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, var(--mtc-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    border-left: 3px solid var(--mtc-red);
    padding-left: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid var(--mtc-gold);
    color: var(--mtc-gold);
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    font-weight: 700;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--mtc-gold);
    transition: 0.4s;
    z-index: -1;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover {
    color: var(--mtc-dark);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Radar Animation */
.radar-scan {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    background: 
        radial-gradient(circle, rgba(212, 175, 55, 0.1) 1px, transparent 1px) 0 0/50px 50px;
}

.radar-scan::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 50%;
    background: linear-gradient(45deg, transparent 50%, rgba(212, 175, 55, 0.5) 100%);
    border-radius: 100% 0 0 0;
    transform-origin: 0 0;
    animation: radar-spin 4s linear infinite;
}

@keyframes radar-spin {
    to { transform: rotate(360deg); }
}

/* About Section */
.about-section {
    padding: 6rem 5%;
    background: var(--mtc-navy);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.underline {
    width: 60px;
    height: 4px;
    background: var(--mtc-red);
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--mtc-gold);
}

.about-card i {
    font-size: 2.5rem;
    color: var(--mtc-gold);
    margin-bottom: 1.5rem;
}

.about-card h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #fff;
}

.about-card p {
    color: var(--text-dim);
}

/* Competitions Section */
.competitions-section {
    padding: 6rem 5%;
}

.competition-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.comp-card {
    position: relative;
    height: 400px;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    border: 1px solid var(--mtc-gold-dim);
    transition: transform 0.3s;
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
    z-index: 0;
}

.comp-card:hover .card-bg {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--mtc-dark) 0%, rgba(5,8,13,0.4) 100%);
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    width: 100%;
}

.card-icon {
    color: var(--mtc-gold);
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.comp-card h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.comp-card p {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.card-link {
    color: var(--mtc-gold);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comp-card.locked {
    filter: grayscale(1);
    opacity: 0.6;
    cursor: default;
    border-color: #333;
}

.comp-card.locked .card-link {
    color: #666;
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--mtc-dark);
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 var(--mtc-red);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 var(--mtc-gold);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 81px, 0); }
    20% { clip: rect(62px, 9999px, 13px, 0); }
    40% { clip: rect(18px, 9999px, 63px, 0); }
    60% { clip: rect(4px, 9999px, 86px, 0); }
    80% { clip: rect(92px, 9999px, 2px, 0); }
    100% { clip: rect(54px, 9999px, 47px, 0); }
}

/* Footer */
footer {
    background: #000;
    padding: 3rem 5%;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    height: 40px;
    opacity: 0.8;
}

.footer-logo p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-dim);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--mtc-gold);
}

@media (max-width: 768px) {
    .competition-cards {
        grid-template-columns: 1fr;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    footer {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        flex-direction: column;
    }
}
