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

:root {
    --primary-orange: #ff6b35;
    --primary-coral: #ff8c61;
    --primary-blue: #1a1f3a;
    --dark-blue: #0d1120;
    --light-blue: #2a3a5a;
    --teal: #4a9b9b;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --gray: #e0e0e0;
    --dark-gray: #666666;
    --text-dark: #333333;
    --gradient-orange: linear-gradient(135deg, #ff6b35 0%, #4a9b9b 100%);
    --gradient-blue: linear-gradient(135deg, #1a1f3a 0%, #0d1120 100%);
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-gray);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

/* Header */
header {
    background: var(--primary-blue);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

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

.logo-container img {
    height: 40px;
    width: auto;
}

.logo-container .site-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.05em;
}

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

.nav-links a {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: var(--primary-orange);
}

/* Hamburger Menu Button */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: transparent;
    border: none;
    gap: 5px;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

/* Hero Section */
.hero {
    background: var(--gradient-orange);
    padding: 6rem 2rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><circle cx="200" cy="150" r="80" fill="rgba(255,255,255,0.1)"/><circle cx="800" cy="300" r="100" fill="rgba(255,255,255,0.08)"/><circle cx="1000" cy="100" r="60" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-orange);
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn:active {
    transform: translateY(0);
}

/* Notice Section */
.notice-section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.notice-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.notice-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.notice-content h2 {
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.notice-content p {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.notice-content .age-requirement {
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 1rem;
}

/* Play Now Section */
.play-section {
    padding: 4rem 2rem;
    background: var(--white);
    text-align: center;
}

.play-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.play-section p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
}

.game-card-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

.game-card {
    background: var(--dark-blue);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    overflow: hidden;
}

.game-card.placeholder {
    padding: 2rem;
    align-items: center;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.game-card-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 16px 16px 0 0;
    margin: 0;
    display: block;
    object-fit: cover;
    max-height: 400px;
    object-position: center;
    flex-shrink: 0;
}

.game-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
    width: 100%;
    padding: 0 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.game-card-header h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.game-card-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.game-card .play-now-btn {
    margin-top: auto;
    margin-bottom: 0;
    width: calc(100% - 4rem);
    margin-left: 2rem;
    margin-right: 2rem;
}

.game-card.loaded .play-now-btn {
    margin: 0;
    width: 100%;
}

.game-card.placeholder {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--light-blue) 100%);
}

.game-card.placeholder h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.game-card iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 8px;
    max-width: 100%;
    min-height: 400px;
}

.game-card.loaded {
    justify-content: flex-start;
    padding: 0;
    overflow: hidden;
}

.game-card.loaded .game-card-header,
.game-card.loaded .game-card-image,
.game-card.loaded .play-now-btn {
    display: none;
}

@media (max-width: 1024px) {
    .game-card-container {
        grid-template-columns: 1fr;
    }

    .game-card iframe {
        height: 500px;
    }
}

/* Features Section */
.features-section {
    padding: 4rem 2rem;
    background: var(--light-gray);
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.features-section .subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--dark-gray);
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 2rem;
    background: var(--white);
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.testimonials-section .subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
}

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

.testimonial-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray);
}

.testimonial-stars {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--dark-gray);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
}

.testimonial-location {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 3rem 2rem 2rem;
}

.footer-banner {
    background: var(--primary-orange);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
}

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

.footer-links a {
    color: var(--white);
    font-weight: 500;
}

.footer-links a:hover {
    opacity: 0.8;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.logos-grid a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.logos-grid a:hover {
    transform: scale(1.05);
}

.logos-grid img {
    width: 100px;
    height: auto;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 16px;
    padding: 3rem;
    max-width: 600px;
    margin: 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-content h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.modal-content p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.modal-buttons .btn {
    min-width: 150px;
}

/* Content Pages */
.content-page {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    min-height: calc(100vh - 200px);
}

.content-page h1 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

.content-page h2 {
    color: var(--primary-orange);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-page p {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-page ul,
.content-page ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.content-page li {
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-page {
        padding: 3rem 2rem;
    }

    .notice-section {
        padding: 3rem 2rem;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding: 4rem 1.5rem;
    }

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

    header {
        padding: 1rem;
    }

    nav {
        position: relative;
        flex-wrap: wrap;
    }

    .burger-menu {
        display: flex;
        order: 2;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-blue);
        flex-direction: column;
        width: 100%;
        padding: 1rem 0;
        margin-top: 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        width: 100%;
        text-align: left;
        border-radius: 0;
    }

    .logo-container {
        order: 1;
    }

    .logo-container .site-name {
        font-size: 1.25rem;
    }

    .logo-container img {
        height: 35px;
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .notice-section {
        padding: 2rem 1rem;
    }

    .notice-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }

    .notice-icon {
        font-size: 2.5rem;
    }

    .play-section {
        padding: 3rem 1rem !important;
    }

    .play-section h2 {
        font-size: 2rem;
    }

    .game-card-container {
        padding: 0;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .game-card {
        min-height: 400px;
    }

    .game-card.placeholder {
        padding: 1.5rem;
    }

    .game-card-image {
        max-height: 250px;
    }

    .game-card .play-now-btn {
        width: calc(100% - 3rem);
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }

    .game-card iframe {
        height: 400px !important;
    }

    .game-card-header h3 {
        font-size: 1.5rem;
    }

    .content-page {
        padding-top: 2rem !important;
    }

    .features-section,
    .testimonials-section {
        padding: 3rem 1rem;
    }

    .feature-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .content-page {
        padding: 3rem 1rem;
    }

    .content-page ul,
    .content-page ol {
        margin-left: 1.5rem;
    }

    .contact-form {
        margin: 2rem auto;
    }

    .modal-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .modal-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .modal-buttons .btn {
        width: 100%;
    }

    footer {
        padding: 2rem 1rem 1.5rem;
    }

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

    .logos-grid {
        gap: 1rem;
    }

    .logos-grid img {
        width: 80px;
    }
}

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

    .hero {
        padding: 3rem 1rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .logo-container .site-name {
        font-size: 1.1rem;
    }

    .logo-container img {
        height: 30px;
    }

    .features-section h2,
    .testimonials-section h2,
    .play-section h2 {
        font-size: 1.75rem;
    }

    .notice-icon {
        font-size: 2rem;
    }

    .game-card {
        min-height: 300px;
    }

    .game-card.placeholder {
        padding: 1rem;
    }

    .game-card-image {
        max-height: 200px;
    }

    .game-card .play-now-btn {
        width: calc(100% - 2rem);
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .game-card iframe {
        height: 300px !important;
    }

    .game-card-header h3 {
        font-size: 1.25rem;
    }

    .game-card-header p {
        font-size: 0.9rem;
    }

    .content-page {
        padding: 2rem 1rem;
    }

    .content-page h1 {
        font-size: 1.75rem;
    }

    .content-page h2 {
        font-size: 1.5rem;
    }

    .logos-grid {
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .logos-grid img {
        width: 70px;
    }

    .footer-banner {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

