/* Body Content Sections Styles */

/* About Section */
.about {
    background: linear-gradient(180deg, var(--black) 0%, var(--dark-gray) 50%, var(--black) 100%);
    position: relative;
    overflow: hidden;
}

/* Section background video/gif (reusable) */
.section-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
    opacity: 0.4;
    filter: blur(2px);
}

.section-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.2;
    filter: blur(3px);
}

/* Dark overlay for readability */
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.7);
    z-index: 1;
    pointer-events: none;
}

/* Ensure content is above background */
.about .container {
    position: relative;
    z-index: 2;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.about-card {
    background: rgba(26, 26, 26, 0.6);
    padding: 2.5rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

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

.about-card:hover {
    border-color: var(--lightning-blue);
    box-shadow: 0 0 30px var(--glow-blue);
    transform: translateY(-10px);
}

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

.about-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.about-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--lightning-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-card p {
    color: var(--off-white);
    line-height: 1.8;
}

/* Games Section */
.games {
    background: var(--black);
}

.game-header-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start;
}

.game-info-column {
    display: flex;
    flex-direction: column;
}

.game-video-column {
    position: relative;
}

.game-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 40px var(--glow-blue);
    border: 2px solid var(--lightning-blue);
}

.game-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 968px) {
    .game-header-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.game-card {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.2), rgba(26, 26, 26, 0.8));
    border: 2px solid rgba(0, 212, 255, 0.3);
    padding: 3rem;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.game-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.game-card:hover {
    border-color: var(--lightning-blue);
    box-shadow: 0 0 50px var(--glow-blue);
    transform: scale(1.02);
}

.game-content {
    position: relative;
    z-index: 1;
}

.game-badge {
    display: inline-block;
    background: var(--lightning-blue);
    color: var(--black);
    padding: 0.5rem 1.5rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.game-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.game-tagline {
    font-size: 1.2rem;
    color: var(--light-yellow);
    margin-bottom: 2rem;
    font-style: italic;
}

.game-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--off-white);
}

.game-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-text {
    color: var(--off-white);
    font-weight: 600;
}

/* Team Section */
.team {
    background: linear-gradient(180deg, var(--black) 0%, var(--dark-gray) 100%);
}

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

.team-member {
    text-align: center;
    padding: 2rem;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.1));
    transition: height 0.4s ease;
}

.team-member:hover {
    border-color: var(--lightning-blue);
    transform: translateY(-10px);
    box-shadow: 0 10px 40px var(--glow-blue);
}

.team-member:hover::before {
    height: 100%;
}

.team-avatar {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lightning-blue), var(--electric-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--black);
    box-shadow: 0 0 30px var(--glow-blue);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.team-avatar-image {
    background: none;
    padding: 0;
}

.team-avatar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-member h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--lightning-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.team-role {
    color: var(--light-yellow);
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.team-bio {
    color: var(--off-white);
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* Contact Section */
.contact {
    background: var(--black);
}

.contact-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-item {
    text-align: center;
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-item h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--lightning-blue);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-item a {
    color: var(--off-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--lightning-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .about-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .game-features {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }
}