/* Color Scheme Variables */
:root {
    --primary: #8075FF;
    --primary-dark: #5F55CC;
    --primary-light: #A39BFF;
    --accent: #6FA9C9;
    --background: #232528;
    --surface: #2F3238;
    --text-primary: #f0f0f0;
    --text-secondary: #b0b0b0;
    --border: #4a4a55;
}

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

/* Body – Poppins regular */
body {
    background-color: var(--background);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

/* Header – Oxanium for h1 */
header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
    background: linear-gradient(to bottom, var(--surface), transparent);
}

header img {
    width: 80px;
    height: auto;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

header img:hover {
    transform: scale(1.1);
}

header h1 {
    font-family: 'Oxanium', sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin: 0;
}

/* Headings – Oxanium */
h2 {
    font-family: 'Oxanium', sans-serif;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 1.5rem;

}

/* Main container */
main {
    max-width: 1150px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: grid;
    gap: 4rem;
}

/* Hero */
.hero {
    text-align: center;
}

.hero button {
    margin: 2rem 0 1rem;
}

.hero p {
    text-align: center;
}

/* Button – Poppins medium */
button {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.3rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(128, 117, 255, 0.4);
}

button:hover {
    background: linear-gradient(135deg, var(--primary-dark), #5a8aa3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(128, 117, 255, 0.5);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6rem;
    color: rgba(255,255,255,0.85);
    pointer-events: none;
}

/* Instructions – 2×2 grid */
.instructions {
    max-width: 1200px;
    margin: 0 auto 4rem;
    background: var(--surface);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.instructions-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
}

.instructions-images figure {
    margin: 0;
    background: var(--background);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid var(--border);
}

.instructions-images figcaption {
    text-align: center;
    margin-top: 0.9rem;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.15rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

/* Bottom grid: FAQ left & Details right */
.bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

#faq, #details {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
}

#faq details {
    margin: 1rem 0;
    border: none;
    background: transparent;
}

#faq summary {
    background: var(--primary-dark);
    color: white;
    padding: 1.1rem 1.4rem;
    border-radius: 10px;
    margin-bottom: 0.6rem;
    cursor: pointer;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}

#faq p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

/* Details – left/right alignment */
.details-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.8rem 2rem;
    align-items: baseline;
    font-size: 1.05rem;
}

.details-list dt {
    font-weight: bold;
    color: var(--primary-light);
    text-align: left;
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.details-list dd {
    margin: 0;
    text-align: right;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

/* Footer – logo left, social 2×2 right */
.footer {
    background: var(--surface);
    border-top: 5px solid #000;
    padding: 2rem 3rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo {
    flex: 0 1 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.footer-logo a{
    display: block;
    width: max-content;
    height: auto;
    line-height: 0;
    cursor: pointer;
}

.footer-logo img {
    width: 80px;
    height: auto;
    border-radius: 12px;
}

.footer-center {
    flex: 2;
    text-align: center;
    color: var(--text-secondary);
}

.footer-center .copyright,
.footer-center .credit {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.footer-center .copyright {
    font-weight: 500;
    margin: 0.3rem 0;
    font-size: 1rem;
}

.footer-center .credit {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.social-links {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 48px);
    grid-template-rows: repeat(2, 48px);
    justify-content: flex-end;
    gap: 12px;
}

.social-links img {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    display: block;
    transition: transform 0.25s ease;
}

.social-links img:hover {
    transform: scale(1.15);
}

/* Smaller Devices */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-logo,
    .social-links {
        justify-content: center;
    }
    .social-links {
        gap: 12px;
        margin-top: 0px;
        margin-bottom: 20px;
    }
    .instructions {
        max-width: 100%;
        padding: 1.5rem;
    }
    .instructions-images {
        grid-template-columns: 1fr;
    }
    .bottom-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    @media (max-width: 768px) {
    main, .instructions, .bottom-grid {
        min-width: unset; 
        max-width: 100%;
        padding: 1rem;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .footer-logo, .footer-center {
        flex: unset;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .social-links {
        flex: unset;
        justify-content: center;
        margin: 0 auto;
    }
    .instructions-images {
        grid-template-columns: 1fr;
    }
    }
}