/* ======================
   BASE STYLES
====================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    background-color: #0e0e12;
    color: #eaeaea;
    line-height: 1.6;
}

/* ======================
   NAVBAR
====================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: rgba(14, 14, 18, 0.9);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: #6cf2c2;
}

nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #eaeaea;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #6cf2c2;
}

/* ======================
   HERO
====================== */
.hero {
    height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    background: radial-gradient(circle at top, #1a1a25, #0e0e12);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: fadeIn 1.2s ease;
}

.hero p {
    max-width: 600px;
    margin-bottom: 30px;
    opacity: 0.85;
    animation: fadeIn 1.6s ease;
}

/* ======================
   BUTTONS
====================== */
.btn {
    padding: 10px 30px;
    background: #6cf2c2;
    color: #0e0e12;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(108, 242, 194, 0.4);
}

.btn.outline {
    background: transparent;
    color: #6cf2c2;
    border: 2px solid #6cf2c2;
}

/* ======================
   SECTIONS
====================== */
.section {
    padding: 80px 60px;
    text-align: center;
}

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.section h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.section.dark {
    background: #141420;
}

/* ======================
   CARDS
====================== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.card {
    background: #1b1b2a;
    padding: 30px;
    border-radius: 15px;
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.card h3 {
    margin-bottom: 10px;
    color: #6cf2c2;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* ======================
   FOOTER
====================== */
footer {
    padding: 30px;
    text-align: center;
    background: #0b0b10;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ======================
   ANIMATIONS
====================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======================
   PLATFORM SELECTION PAGE
====================== */

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    max-width: 1100px;
    margin: auto;
    justify-items: center;
}

/* Platform Card */
.platform-card {
    background: #1b1b2a;
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
    animation: fadeIn 1.2s ease;
    max-width: 360px;
}

/* Platform Icon */
.platform-card img {
    width: 256px;
    height: 256px;
    margin-bottom: 20px;
    border-radius: 20px;
}

/* Text */
.platform-card h3 {
    color: #6cf2c2;
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.platform-card p {
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.6;
}

/* Hover Effects */
.platform-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
}

/* ======================
   CONTACT PAGE
====================== */

.contact-container {
    max-width: 1000px;
    margin: auto;
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* Image */
.contact-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    animation: fadeIn 1.2s ease;
}

/* Info */
.contact-info {
    text-align: left;
    animation: fadeIn 1.4s ease;
}

.contact-info h2 {
    color: #6cf2c2;
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.05rem;
    margin-bottom: 12px;
    opacity: 0.9;
}

.contact-info strong {
    color: #ffffff;
}

/* ======================
   UPCOMING COUNTDOWN
====================== */

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.countdown-box {
    background: #1b1b2a;
    border-radius: 20px;
    padding: 25px 30px;
    min-width: 140px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1.2s ease;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.countdown-box span {
    display: block;
    font-size: 2.6rem;
    font-weight: bold;
    color: #6cf2c2;
}

.countdown-box label {
    margin-top: 8px;
    display: block;
    font-size: 0.9rem;
    letter-spacing: 1px;
    opacity: 0.85;
}

.countdown-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
}

/* ======================
   PAGE-SPECIFIC HERO IMAGE
====================== */

.hero-platforms {
    background: linear-gradient(rgba(14, 14, 18, 0.75), rgba(14, 14, 18, 0.85)),
        url("https://images.saymedia-content.com/.image/t_share/MjEwNzkxMzYwNDI3ODYxOTkz/top-10-online-gaming-platforms.jpg");
    background-size: cover;
    background-position: center;
}

.hero-nintendo {
    background: linear-gradient(rgba(14, 14, 18, 0.75), rgba(14, 14, 18, 0.85)),
        url("https://wallpapercave.com/wp/wp13922159.jpg");
    background-size: cover;
    background-position: center;
}

.hero-index {
    background: linear-gradient(rgba(14, 14, 18, 0.75), rgba(14, 14, 18, 0.85)),
        url("https://cdn-image-f3580964b8e711e5b95f2ff191a1c838.baas.nintendo.com/1/79e7a20aa0f7c4d7");
    background-size: cover;
    background-position: center;
}

/* ======================
   PLATFORM MOD LIST
====================== */

.mod-list {
    max-width: 1100px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

/* 16:9 Mod Button */
.mod-card {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 30px;
    background: #1b1b2a;
    border-radius: 50px;
    padding: 25px 35px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    aspect-ratio: 21 / 0;
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
    animation: fadeIn 1.2s ease;
}

/* Left Image */
.mod-card img {
    width: 256px;
    height: 256px;
    object-fit: cover;
    border-radius: 16px;
    flex-shrink: 0;
}

/* Text */
.mod-info h3 {
    color: #6cf2c2;
    font-size: 2rem;
    margin-bottom: 12px;
}

.mod-info p {
    font-size: 1rem;
    opacity: 0.85;
    line-height: 1.7;
}

/* Hover */
.mod-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
}

/* Responsive */
@media (max-width: 768px) {
    .mod-card {
        flex-direction: column;
        text-align: center;
        aspect-ratio: auto;
    }

    .mod-card img {
        width: 180px;
        height: 180px;
    }
}
.button-secondary {
    padding: 10px 30px;
    background: #6cf2c2;
    color: #0e0e12;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.button-secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(108, 242, 194, 0.4);
}

.button-secondary.outline {
    background: transparent;
    color: #6cf2c2;
    border: 2px solid #6cf2c2;
}

.button-primary {
    padding: 10px 30px;
    background: #00ff19;
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.button-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 255, 15, 0.4);
}

.button-primary.outline {
    background: transparent;
    color: #6cf2c2;
    border: 2px solid #6cf2c2;
}

/* ======================
   EMPTY PLATFORM PAGE
====================== */

.empty-platform {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;

    background: radial-gradient(circle at center, rgba(255, 60, 60, 0.25), rgba(14, 14, 18, 0.95) 70%);

    animation: redPulse 6s ease-in-out infinite;
}

/* Header text */
.empty-platform h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ff6b6b;
    text-shadow:
        0 0 15px rgba(255, 60, 60, 0.6),
        0 0 40px rgba(255, 60, 60, 0.25);
}

/* Slow red pulse animation */
@keyframes redPulse {
    0% {
        background: radial-gradient(circle at center, rgba(255, 60, 60, 0.18), rgba(14, 14, 18, 0.95) 70%);
    }
    50% {
        background: radial-gradient(circle at center, rgba(255, 60, 60, 0.35), rgba(14, 14, 18, 0.9) 70%);
    }
    100% {
        background: radial-gradient(circle at center, rgba(255, 60, 60, 0.18), rgba(14, 14, 18, 0.95) 70%);
    }
}

info-text {
    text-align: left;
    position: absolute;
}

/* ======================
   VIDEO SHOWCASE PAGE
====================== */

.video-container {
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

/* Widescreen Video Box */
.video-box {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    margin-bottom: 40px;
    animation: fadeIn 1.2s ease;
}

.video-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Text below video */
.video-container h2 {
    color: #6cf2c2;
    margin-bottom: 15px;
}

.video-description {
    max-width: 800px;
    margin: auto;
    opacity: 0.85;
    font-size: 1rem;
    line-height: 1.7;
    text-align: left;
}