* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Crimson Text', serif;
    background: linear-gradient(to bottom, #f5f0f6 0%, #e8dff0 100%);
    color: #3d2645;
    line-height: 1.8;
    min-height: 100vh;
}

.modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(61, 38, 69, 0.97);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.modal-overlay.show {
    display: flex;
}

.modal-card {
    background: linear-gradient(135deg, #f5f0f6 0%, #fff 100%);
    padding: 3rem;
    max-width: 480px;
    width: 90%;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(102, 51, 153, 0.4);
    border: 1px solid #FFB6C1;
}

.modal-card h2 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #663399;
    margin-bottom: 1.5rem;
}

.modal-card p {
    margin-bottom: 1rem;
    font-size: 1.15rem;
    color: #3d2645;
}

.modal-small {
    font-size: 0.95rem;
    color: #6b5575;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary {
    background: #663399;
    color: white;
}

.btn-primary:hover {
    background: #552288;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 51, 153, 0.3);
}

.btn-secondary {
    background: #d8d0dd;
    color: #3d2645;
}

.btn-secondary:hover {
    background: #c5bcc9;
    transform: translateY(-2px);
}

.site-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #FFB6C1;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(5px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.brand-icon {
    width: 45px;
    height: 45px;
}

.brand-name {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #663399;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle .bar {
    width: 28px;
    height: 2px;
    background: #663399;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.main-nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: #3d2645;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 1px;
    background: #FFB6C1;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #663399;
}

.nav-link:hover::before {
    width: 100%;
}

.hero-area {
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(to bottom, rgba(255, 182, 193, 0.1) 0%, transparent 100%);
}

.hero-text h1 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 800;
    color: #663399;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.lead {
    font-size: 1.4rem;
    color: #6b5575;
    font-style: italic;
    margin-bottom: 3rem;
}

.hero-markers {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.marker {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 1px solid #FFB6C1;
    border-radius: 30px;
    font-weight: 600;
    color: #3d2645;
    font-size: 1.05rem;
}

.content-section, .features-section, .notice-section, .game-showcase, .philosophy-section, .cta-section {
    padding: 4rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: #663399;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.3rem;
    color: #6b5575;
    font-style: italic;
}

h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: #663399;
    margin-bottom: 1.5rem;
}

h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    color: #552288;
    margin-bottom: 1rem;
}

p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: #4a3952;
}

.text-content {
    max-width: 900px;
    margin: 0 auto;
}

.feature-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-block {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #e8dff0;
    transition: all 0.3s ease;
}

.feature-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(102, 51, 153, 0.15);
    border-color: #FFB6C1;
}

.feature-symbol {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.notice-card {
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.15) 0%, rgba(255, 255, 255, 0.9) 100%);
    padding: 3rem;
    border-radius: 8px;
    border: 2px solid #FFB6C1;
    max-width: 1000px;
    margin: 0 auto;
}

.notice-card h3 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2rem;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.notice-item {
    background: white;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid #663399;
}

.notice-item strong {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: #663399;
    margin-bottom: 0.75rem;
}

.notice-item p {
    font-size: 1rem;
    margin: 0;
}

.showcase-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.showcase-header h2 {
    margin-bottom: 1rem;
}

.showcase-header p {
    font-size: 1.2rem;
    color: #6b5575;
}

.game-embed {
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #663399;
    background: #000;
    margin-bottom: 2rem;
}

.game-display {
    width: 100%;
    height: 650px;
    border: none;
    display: block;
}

.game-details {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: white;
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid #e8dff0;
}

.detail-icon {
    font-size: 1.8rem;
}

.detail-text {
    flex: 1;
}

.detail-text strong {
    display: block;
    font-family: 'Cinzel', serif;
    color: #663399;
    margin-bottom: 0.5rem;
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.philosophy-text {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #e8dff0;
}

.cta-content {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(102, 51, 153, 0.1) 0%, rgba(255, 182, 193, 0.1) 100%);
    border-radius: 8px;
    border: 1px solid #FFB6C1;
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #6b5575;
    font-style: italic;
}

.cta-link {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: #663399;
    color: white;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-link:hover {
    background: #552288;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 51, 153, 0.3);
}

.site-footer {
    background: linear-gradient(to bottom, #3d2645 0%, #2d1b35 100%);
    color: #e8dff0;
    padding: 3rem 2rem;
    border-top: 2px solid #663399;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.footer-col h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: #FFB6C1;
    margin-bottom: 1rem;
}

.footer-col p {
    font-size: 1rem;
    color: #d8d0dd;
    margin-bottom: 1rem;
}

.resource-list {
    list-style: none;
}

.resource-list li {
    margin-bottom: 0.5rem;
}

.resource-list a {
    color: #e8dff0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.resource-list a:hover {
    color: #FFB6C1;
}

.copyright {
    font-size: 0.9rem;
    color: #b5a5bd;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        border-top: 1px solid #FFB6C1;
    }

    .main-nav.open {
        display: flex;
    }

    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid #e8dff0;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1.15rem;
    }

    .hero-markers {
        flex-direction: column;
        align-items: center;
    }

    .feature-blocks {
        grid-template-columns: 1fr;
    }

    .notice-grid {
        grid-template-columns: 1fr;
    }

    .game-display {
        height: 450px;
    }

    .modal-card {
        padding: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
