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

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(to bottom right, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
    color: #e0e7ff;
    min-height: 100vh;
    line-height: 1.6;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.main-header {
    background: linear-gradient(135deg, #3730A3 0%, #4F46E5 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
}

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

.brand-logo {
    width: 55px;
    height: 55px;
}

.brand-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: white;
    letter-spacing: 3px;
}

.main-navigation {
    display: flex;
    gap: 2.5rem;
}

.nav-item {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #A5B4FC;
    transition: width 0.3s ease;
}

.nav-item:hover::after,
.nav-item.active-item::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.main-content {
    flex: 1;
}

.hero-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(55, 48, 163, 0.5) 0%, rgba(79, 70, 229, 0.5) 100%);
    border-bottom: 3px solid #6366F1;
}

.hero-inner {
    text-align: center;
}

.hero-inner h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: #C4B5FD;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #A5B4FC;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

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

.feature-tag {
    background: rgba(165, 180, 252, 0.2);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    color: #C4B5FD;
    font-weight: 600;
    border: 2px solid rgba(165, 180, 252, 0.3);
}

.intro-segment,
.principles-segment,
.gaming-segment,
.benefits-segment,
.virtual-credits-segment,
.responsibility-segment,
.guide-section,
.technical-section,
.reminders-section,
.legal-section {
    padding: 4rem 0;
}

.segment-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.segment-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #A5B4FC;
    margin-bottom: 2rem;
}

.segment-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #C4B5FD;
    margin-bottom: 1.5rem;
}

.segment-heading {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #A5B4FC;
    text-align: center;
    margin-bottom: 3rem;
}

.segment-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #C4B5FD;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.principles-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.principle-card {
    background: rgba(55, 48, 163, 0.3);
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid rgba(99, 102, 241, 0.3);
}

.principle-card.card-danger {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
}

.principle-card.card-success {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.15);
}

.principle-card.card-warning {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.15);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-emoji {
    font-size: 3rem;
}

.card-header h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #C4B5FD;
}

.card-body p {
    line-height: 1.7;
    color: #e0e7ff;
}

.game-viewer {
    max-width: 1000px;
    margin: 0 auto 2rem;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
    border: 3px solid #6366F1;
}

.game-viewer iframe {
    width: 100%;
    height: 600px;
    border: none;
}

.game-info {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1.5rem;
    background: rgba(99, 102, 241, 0.15);
    border-left: 4px solid #6366F1;
    border-radius: 8px;
    color: #C4B5FD;
    line-height: 1.7;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-block {
    background: rgba(55, 48, 163, 0.3);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid rgba(99, 102, 241, 0.3);
}

.benefit-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(165, 180, 252, 0.3);
    margin-bottom: 1rem;
}

.benefit-block h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #A5B4FC;
    margin-bottom: 1rem;
}

.benefit-block p {
    color: #C4B5FD;
    line-height: 1.7;
}

.virtual-credits-segment {
    background: rgba(99, 102, 241, 0.1);
}

.credits-content {
    max-width: 900px;
    margin: 0 auto;
}

.credits-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #A5B4FC;
    text-align: center;
    margin-bottom: 2rem;
}

.credits-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #C4B5FD;
    margin-bottom: 1.5rem;
}

.responsibility-box {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(55, 48, 163, 0.3);
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid rgba(99, 102, 241, 0.3);
}

.responsibility-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #A5B4FC;
    margin-bottom: 1.5rem;
    text-align: center;
}

.responsibility-box p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #C4B5FD;
    margin-bottom: 1.5rem;
}

.responsibility-points {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.responsibility-points li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    color: #C4B5FD;
    line-height: 1.7;
}

.responsibility-points li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #6366F1;
    font-weight: bold;
    font-size: 1.3rem;
}

.page-header-section {
    padding: 4rem 0;
    background: rgba(55, 48, 163, 0.3);
    border-bottom: 3px solid #6366F1;
}

.page-header-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #A5B4FC;
    text-align: center;
    margin-bottom: 0.5rem;
}

.page-header-section p {
    text-align: center;
    font-size: 1.2rem;
    color: #C4B5FD;
}

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

.guide-card {
    background: rgba(55, 48, 163, 0.3);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    text-align: center;
}

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

.guide-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #A5B4FC;
    margin-bottom: 1rem;
}

.guide-card p {
    color: #C4B5FD;
    line-height: 1.6;
}

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

.tech-block {
    background: rgba(55, 48, 163, 0.3);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    text-align: center;
}

.tech-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.tech-block h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #A5B4FC;
    margin-bottom: 1rem;
}

.tech-block p {
    color: #C4B5FD;
    line-height: 1.6;
}

.reminders-panel {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(99, 102, 241, 0.2);
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid #6366F1;
}

.reminders-panel h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #A5B4FC;
    margin-bottom: 1.5rem;
    text-align: center;
}

.reminders-panel ul {
    list-style: none;
    padding: 0;
}

.reminders-panel li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    color: #C4B5FD;
    line-height: 1.7;
}

.reminders-panel li:before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: #6366F1;
    font-size: 1.5rem;
}

.legal-content {
    background: rgba(55, 48, 163, 0.2);
    padding: 3rem;
    border-radius: 15px;
}

.legal-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #A5B4FC;
    margin: 2.5rem 0 1rem 0;
}

.legal-content h3:first-child {
    margin-top: 0;
}

.legal-content p {
    line-height: 1.8;
    color: #C4B5FD;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-content li {
    color: #C4B5FD;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.alert-notice {
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.alert-notice.critical {
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid #ef4444;
}

.alert-notice.confirm {
    background: rgba(99, 102, 241, 0.2);
    border: 2px solid #6366F1;
}

.alert-notice h3 {
    margin-top: 0 !important;
}

.main-footer {
    background: linear-gradient(135deg, #3730A3 0%, #4F46E5 100%);
    padding: 3rem 0;
    margin-top: auto;
}

.footer-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.footer-column h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #A5B4FC;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.age-verification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.age-verification-modal.hidden {
    display: none;
}

.modal-content {
    background: linear-gradient(135deg, #3730A3 0%, #4F46E5 100%);
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 50px rgba(99, 102, 241, 0.5);
    border: 3px solid #6366F1;
}

.modal-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.modal-content p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.modal-btn {
    padding: 1rem 2rem;
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn-yes {
    background: #10b981;
    color: white;
}

.modal-btn-yes:hover {
    background: #059669;
    transform: scale(1.05);
}

.modal-btn-no {
    background: #ef4444;
    color: white;
}

.modal-btn-no:hover {
    background: #dc2626;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .main-navigation {
        position: fixed;
        top: 95px;
        left: -100%;
        width: 100%;
        background: linear-gradient(135deg, #3730A3 0%, #4F46E5 100%);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-inner h2 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .segment-heading {
        font-size: 2rem;
    }
    
    .game-viewer iframe {
        height: 400px;
    }
    
    .modal-content {
        margin: 1rem;
        padding: 2rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}
