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

:root {
    --black: #0A0A0A;
    --red: #CC0000;
    --gold: #DAA520;
    --white: #FFFFFF;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Particles Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
    padding: 1.5rem 0;
}

#navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(204, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--red);
    text-decoration: none;
    letter-spacing: 0.2em;
    text-shadow: 0 0 20px rgba(204, 0, 0, 0.8);
    transition: all 0.3s ease;
}

.logo:hover {
    text-shadow: 0 0 30px rgba(218, 165, 32, 0.8);
    color: var(--gold);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--red), var(--gold));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--red);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--red);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(204, 0, 0, 0.15) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.hero-content {
    max-width: 1200px;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #CC0000 50%, #DAA520 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(204, 0, 0, 0.6)); }
    50% { filter: drop-shadow(0 0 40px rgba(204, 0, 0, 0.9)); }
}

.subheading {
    font-size: clamp(1rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 3rem;
    letter-spacing: 0.1em;
    text-shadow: 0 0 10px rgba(218, 165, 32, 0.5);
}

.divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--red), var(--gold), transparent);
    margin: 2rem auto;
    box-shadow: 0 0 20px rgba(204, 0, 0, 0.8);
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background-color: var(--red);
    color: var(--white);
    text-decoration: none;
    border: 2px solid var(--red);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 30px rgba(204, 0, 0, 0.6);
    cursor: pointer;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(218, 165, 32, 0.4), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(218, 165, 32, 0.8);
}

.cta-button:hover::before {
    left: 100%;
}

.ventures-preview {
    margin-top: 4rem;
}

.patent-badge {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Ventures Grid Section */
.ventures-grid-section {
    position: relative;
    z-index: 2;
    padding: 6rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.8) 50%, transparent 100%);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ventures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.venture-card {
    background: rgba(204, 0, 0, 0.05);
    border: 2px solid rgba(204, 0, 0, 0.3);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.venture-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(204, 0, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.venture-card:hover::before {
    left: 100%;
}

.venture-card:hover {
    background: rgba(204, 0, 0, 0.1);
    border-color: var(--red);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(204, 0, 0, 0.6);
}

.venture-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(204, 0, 0, 0.2);
    line-height: 1;
    margin-bottom: 1rem;
}

.venture-card h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--red);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.venture-tagline {
    font-size: 0.9rem;
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.venture-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.venture-link {
    color: var(--red);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.venture-link:hover {
    color: var(--gold);
}

/* Stats Section */
.stats-section {
    position: relative;
    z-index: 2;
    padding: 6rem 0;
    background: rgba(204, 0, 0, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-card {
    padding: 2rem;
}

.stat-number {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    color: var(--red);
    text-shadow: 0 0 30px rgba(204, 0, 0, 0.8);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

/* CTA Section */
.cta-section {
    position: relative;
    z-index: 2;
    padding: 6rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-section p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.8);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(204, 0, 0, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--red);
    margin-bottom: 1rem;
    letter-spacing: 0.2em;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-ein {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--red);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(204, 0, 0, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: right 0.4s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 6rem 1rem 2rem;
    }

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

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* i2P Liga Specific Styles */

/* Match Cards */
.matches-section {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.match-card {
    background: rgba(204, 0, 0, 0.05);
    border: 2px solid rgba(204, 0, 0, 0.3);
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.match-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(204, 0, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.match-card:hover::before {
    left: 100%;
}

.match-card:hover {
    background: rgba(204, 0, 0, 0.1);
    border-color: var(--red);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(204, 0, 0, 0.6);
}

.match-league {
    margin-bottom: 1rem;
}

.league-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--gold);
    color: var(--black);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.team {
    flex: 1;
}

.team:first-child .team-name {
    text-align: right;
}

.team:last-child .team-name {
    text-align: left;
}

.team-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.match-score {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.score {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--red);
    text-shadow: 0 0 20px rgba(204, 0, 0, 0.8);
}

.score.upcoming {
    font-size: 1.5rem;
    color: var(--gold);
}

.separator {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.match-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(204, 0, 0, 0.2);
}

.match-status {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.match-status.live {
    color: var(--red);
    animation: pulse-text 2s ease-in-out infinite;
}

@keyframes pulse-text {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.match-status.finished {
    color: rgba(255, 255, 255, 0.6);
}

.match-status.upcoming {
    color: var(--gold);
}

.match-venue {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* World Cup Teaser */
.world-cup-teaser {
    position: relative;
    z-index: 2;
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.1) 0%, rgba(218, 165, 32, 0.1) 100%);
    text-align: center;
}

.world-cup-teaser h2 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    color: var(--red);
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(204, 0, 0, 0.8);
}

.wc-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}

.wc-info {
    max-width: 700px;
    margin: 0 auto 2rem;
}

.wc-info p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* Leagues Section */
.leagues-section {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
}

.leagues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.league-card {
    background: rgba(204, 0, 0, 0.05);
    border: 2px solid rgba(204, 0, 0, 0.3);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.league-card:hover {
    background: rgba(204, 0, 0, 0.1);
    border-color: var(--red);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(204, 0, 0, 0.4);
}

.league-card h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--red);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.league-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.secondary {
    background-color: transparent;
    border-color: var(--gold);
    color: var(--gold);
}

.cta-button.secondary:hover {
    background-color: var(--gold);
    color: var(--black);
}

@media (max-width: 768px) {
    .matches-grid {
        grid-template-columns: 1fr;
    }

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

    .team-name {
        font-size: 0.95rem;
    }

    .score {
        font-size: 2rem;
    }
}
