/* Base Styles */
:root {
    --primary-color: #3f51b5;
    --accent-color: #ff5722;
    --dark-color: #303030;
    --light-color: #f5f5f5;
    --text-color: #212121;
    --light-text: #ffffff;
    --gradient: linear-gradient(45deg, var(--primary-color), #5c6bc0);
    --border-radius: 8px;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4 {
    margin-bottom: 1rem;
}

h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
    text-align: center;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

h3 {
    font-size: 1.3rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

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

.logo h1 {
    margin-bottom: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
}

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

.menu a {
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

#menu-toggle, .menu-icon {
    display: none;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 2rem;
    background: var(--gradient);
    color: var(--light-text);
    gap: 2rem;
}

.hero-content {
    max-width: 600px;
}

.hero-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.hero-content h2::after {
    left: 0;
    transform: none;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-text);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    letter-spacing: 1px;
}

.cta-button:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 87, 34, 0.5);
}

.comic-frame {
    flex: 0 0 40%;
}

.comic-panel {
    width: 100%;
    height: auto;
}

/* Gallery Section */
.gallery {
    padding: 5rem 2rem;
    background-color: #fff;
}

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

.comic-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    padding-bottom: 1.5rem;
    text-align: center;
}

.comic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.comic-cover {
    width: 100%;
    height: 250px;
    margin-bottom: 1rem;
}

.gallery-features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 4rem;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

/* Interactive Section */
.interactive {
    padding: 5rem 2rem;
    background-color: var(--light-color);
}

.interactive-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    margin-top: 3rem;
}

.interactive-text {
    flex: 0 0 50%;
}

.interactive-text h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.interactive-features {
    list-style: none;
    margin-top: 1.5rem;
}

.interactive-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.game-preview {
    flex: 0 0 45%;
}

.game-screen {
    width: 100%;
    height: auto;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
}

/* Access Section */
.access {
    padding: 5rem 2rem;
    background-color: var(--dark-color);
    color: var(--light-text);
    text-align: center;
}

.access h2::after {
    background-color: var(--light-text);
}

.access-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    margin-top: 3rem;
}

.access-details {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

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

.access-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-text);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.5s ease;
}

.access-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.access-button:hover {
    box-shadow: 0 0 20px rgba(255, 87, 34, 0.6);
    color: var(--light-text);
}

.access-button:hover::before {
    left: 100%;
}

/* Footer Styles */
footer {
    background-color: #212121;
    color: #9e9e9e;
    padding: 3rem 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--light-text);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #9e9e9e;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.copyright {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .hero {
        flex-direction: column;
    }

    .comic-frame {
        width: 100%;
        max-width: 500px;
    }

    .interactive-content {
        flex-direction: column;
    }

    .interactive-text, .game-preview {
        flex: 0 0 100%;
    }

    .game-preview {
        max-width: 500px;
    }
}

@media screen and (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }

    .menu-icon {
        display: block;
        cursor: pointer;
        position: relative;
        z-index: 2;
    }

    .menu-icon span {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px 0;
        background-color: var(--text-color);
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    #menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    #menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1;
    }

    #menu-toggle:checked ~ .menu {
        right: 0;
    }

    .access-details {
        gap: 1.5rem;
    }

    .access-feature {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 576px) {
    h2 {
        font-size: 1.6rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .gallery, .interactive, .access {
        padding: 3rem 1rem;
    }

    .gallery-grid {
        gap: 1.5rem;
    }

    .comic-cover {
        height: 200px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}
