/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Classical Theater Color Palette */
    --theater-red: #8B0000;
    --deep-red: #5C0000;
    --dark-red: #3D0000;
    --theater-gold: #D4AF37;
    --light-gold: #F4E4BC;
    --dark-gold: #B8860B;
    --velvet-purple: #4B0082;
    --stage-black: #0A0A0A;
    --curtain-dark: #1A0000;
    --stage-wood: #3E2723;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --text-gray: #E0E0E0;
}

body {
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.8;
    color: var(--text-gray);
    overflow-x: hidden;
    background: var(--stage-black);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(139, 0, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(139, 0, 0, 0.5);
    border-bottom: 3px solid var(--theater-gold);
}

.navbar {
    padding: 1.2rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--theater-gold);
    font-family: 'Cinzel', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.logo-img {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--light-gold);
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--theater-gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--theater-gold);
}

.nav-menu a:hover::after {
    width: 100%;
}

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

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, var(--stage-black) 0%, var(--curtain-dark) 100%);
}

.theater-curtains {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.curtain {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, var(--theater-red) 0%, var(--deep-red) 50%, var(--dark-red) 100%);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8);
}

.curtain.left {
    left: 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.curtain.right {
    right: 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.curtain::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 10px,
        rgba(0, 0, 0, 0.1) 10px,
        rgba(0, 0, 0, 0.1) 20px
    );
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 120px 20px 80px;
}

.spotlight {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: spotlight-pulse 3s ease-in-out infinite;
}

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

.stage-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ornament {
    position: absolute;
    top: 20%;
    width: 200px;
    height: 200px;
    border: 3px solid var(--theater-gold);
    opacity: 0.3;
}

.left-ornament {
    left: 5%;
    border-right: none;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

.right-ornament {
    right: 5%;
    border-left: none;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--theater-gold);
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(212, 175, 55, 0.5);
    position: relative;
    z-index: 3;
}

.title-line {
    display: block;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--light-gold);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: 3px;
}

.title-main {
    display: block;
    font-size: 5.5rem;
    background: linear-gradient(135deg, var(--theater-gold) 0%, var(--light-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.8rem;
    color: var(--light-gold);
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.9;
    font-family: 'Cormorant Garamond', serif;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--theater-red) 0%, var(--deep-red) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.5);
    border: 2px solid var(--theater-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(139, 0, 0, 0.7);
    background: linear-gradient(135deg, var(--deep-red) 0%, var(--theater-red) 100%);
}

.btn-secondary {
    background: transparent;
    color: var(--theater-gold);
    border: 2px solid var(--theater-gold);
}

.btn-secondary:hover {
    background: var(--theater-gold);
    color: var(--stage-black);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

.stage-floor {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--stage-wood) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.stage-floor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 50px,
        rgba(212, 175, 55, 0.1) 50px,
        rgba(212, 175, 55, 0.1) 52px
    );
}

/* Content Section */
.content-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--curtain-dark) 0%, var(--stage-black) 100%);
    position: relative;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 0 L60 40 L100 50 L60 60 L50 100 L40 60 L0 50 L40 40 Z' fill='%23D4AF37' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.content-description {
    font-size: 1.3rem;
    color: var(--text-gray);
    max-width: 900px;
    margin: 2rem auto 0;
    text-align: center;
    line-height: 2;
    font-family: 'Cormorant Garamond', serif;
}

/* Banner Section */
.banner-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--curtain-dark) 0%, var(--stage-black) 100%);
    position: relative;
    overflow: hidden;
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
}

.banner-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.2);
    border: 3px solid var(--theater-gold);
    background: rgba(139, 0, 0, 0.1);
    padding: 10px;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    object-fit: cover;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--stage-black);
    position: relative;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    color: var(--theater-gold);
    margin-bottom: 4rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
}

.title-decoration {
    display: inline-block;
    margin: 0 20px;
    font-size: 2.5rem;
    opacity: 0.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.2) 0%, rgba(75, 0, 130, 0.2) 100%);
    border: 2px solid var(--theater-gold);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
    border-color: var(--light-gold);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--theater-gold);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--light-gold);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    position: relative;
    z-index: 1;
    font-family: 'Cormorant Garamond', serif;
}

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--stage-black) 0%, var(--curtain-dark) 100%);
    position: relative;
}

.screenshots::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--theater-gold), var(--theater-red), transparent);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--light-gold);
    margin-bottom: 3rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.screenshot-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--theater-gold);
    background: rgba(139, 0, 0, 0.1);
}

.screenshot-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.4), 0 0 30px rgba(139, 0, 0, 0.3);
    border-color: var(--light-gold);
}

.screenshot-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    max-width: 100%;
    border-radius: 18px;
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95), transparent);
    padding: 1.5rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.screenshot-item:hover .screenshot-overlay {
    opacity: 1;
}

.screenshot-overlay span {
    color: var(--theater-gold);
    font-weight: 600;
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Genres Section */
.genres {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--curtain-dark) 0%, var(--stage-black) 100%);
}

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

.genre-card {
    background: rgba(139, 0, 0, 0.15);
    border: 2px solid var(--theater-gold);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
}

.genre-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
    background: rgba(139, 0, 0, 0.25);
}

.genre-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.genre-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--theater-gold);
    margin-bottom: 0.5rem;
}

.genre-card p {
    font-size: 1rem;
    color: var(--text-gray);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}

/* Download Section */
.download {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--curtain-dark) 0%, var(--stage-black) 100%);
    text-align: center;
    position: relative;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(139, 0, 0, 0.1) 0%, transparent 50%);
}

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

.download-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    color: var(--theater-gold);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.download-description {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-family: 'Cormorant Garamond', serif;
}

.download-buttons {
    margin-bottom: 2rem;
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.3rem;
}

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

.download-info p {
    color: var(--light-gold);
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
}

.download-info i {
    color: var(--theater-gold);
    margin-right: 8px;
}

.download-toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--theater-red) 0%, var(--deep-red) 100%);
    color: var(--white);
    padding: 20px 40px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.5);
    border: 2px solid var(--theater-gold);
    font-size: 1.2rem;
    font-weight: 600;
    z-index: 2000;
    transition: bottom 0.5s ease;
    font-family: 'Playfair Display', serif;
}

.download-toast.show {
    bottom: 30px;
}

/* Footer */
.footer {
    background: var(--stage-black);
    border-top: 3px solid var(--theater-gold);
    padding: 60px 0 30px;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--theater-gold);
    font-family: 'Cinzel', serif;
    margin-bottom: 1rem;
}


.footer-tagline {
    font-size: 1.2rem;
    color: var(--light-gold);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.footer p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--light-gold);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        border-top: 2px solid var(--theater-gold);
    }

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

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 3rem;
    }

    .title-line {
        font-size: 1.3rem;
    }

    .title-main {
        font-size: 3.5rem;
    }

    .hero-tagline {
        font-size: 1.4rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

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

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .screenshot-img {
        height: auto;
    }

    .download-content h2 {
        font-size: 2.5rem;
    }

    .download-info {
        flex-direction: column;
        gap: 1rem;
    }

    .banner-section {
        padding: 40px 0;
    }

    .banner-wrapper {
        padding: 8px;
    }

    .left-ornament,
    .right-ornament {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .title-main {
        font-size: 2.8rem;
    }

    .btn {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .btn-large {
        padding: 16px 28px;
        font-size: 1.1rem;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .screenshot-img {
        height: auto;
    }
}

