﻿/* General Body Styling */
body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    overflow-x: hidden; /* Prevents horizontal scrollbar */
}

/* Animated Background Canvas */
#background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Places the canvas behind all other content */
}

/* Main Content Container */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 1rem;
}

/* General Section Styling */
.section {
    padding: 4rem 1.5rem;
    border-bottom: 1px solid #2a2a2a;
}

.section:last-of-type {
    border-bottom: none;
}

/* Header/Pitch Section */
.pitch h1 {
    /* --- NEW FONT FOR THE TITLE --- */
    font-family: 'Orbitron', sans-serif;
    font-size: 4.5rem;
    color: #a7d129;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(167, 209, 41, 0.4), 0 0 20px rgba(167, 209, 41, 0.3);
    letter-spacing: 2px; /* Adds a bit of spacing */
}

.pitch .tagline {
    font-size: 1.25rem;
    color: #c4c4c4;
    margin-bottom: 2.5rem;
}

/* Video Slideshow Container */
.video-container {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
    background-color: #000000;
    border: 2px solid #3498db;
    box-shadow: 0 0 25px rgba(52, 152, 219, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
    transform: scale(1.02);
    box-shadow: 0 0 35px rgba(52, 152, 219, 0.5);
}

/* Individual Video Slide Styling */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Rules & Features Section Titles */
.rules h2, .features h2, .goal h2 {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
}

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

/* Rule Cards */
.rule {
    background-color: rgba(26, 26, 26, 0.8);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #2a2a2a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rule:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.rule h3 {
    color: #a7d129;
    margin-top: 0;
    font-size: 1.5rem;
}

/* Features List */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: left;
}

.feature-item {
    background-color: rgba(20, 20, 20, 0.7);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #a7d129;
    transition: background-color 0.3s ease;
}

.feature-item:hover {
    background-color: rgba(40, 40, 40, 0.8);
}

.feature-item h3 {
    color: #3498db;
    margin-top: 0;
    font-size: 1.25rem;
}

.feature-item p {
    color: #c4c4c4;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Goal Section */
.goal p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* Buttons */
.btn {
    background-color: #a7d129;
    color: #000000;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    box-shadow: 0 0 15px rgba(167, 209, 41, 0.3);
}

.btn:hover {
    background-color: #c1f03d;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 0 25px rgba(167, 209, 41, 0.6);
}

/* Footer */
.footer {
    padding: 2rem 1rem;
    border-top: 1px solid #2a2a2a;
}

.footer a {
    color: #3498db;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.2s, text-shadow 0.2s;
}

.footer a:hover {
    color: #a7d129;
    text-shadow: 0 0 5px rgba(167, 209, 41, 0.5);
}

/* Responsive Design */
@media (min-width: 768px) {
    .container {
        padding: 2rem;
    }
    .rules-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .pitch h1 {
        font-size: 3rem;
    }
    .rules h2, .features h2, .goal h2 {
        font-size: 2rem;
    }
}
