* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    display: flex;
    min-height: 100vh;
    background: #f5f7fa;
}

/* Sidebar Styles */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #FF6B6B 0%, #C44569 100%);
    color: white;
    padding: 2rem 0;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0,0,0,0.1);
    z-index: 1000;
}

.sidebar-header {
    text-align: center;
    padding: 0 1rem 2rem;
    border-bottom: 2px solid rgba(255,255,255,0.2);
}

.sidebar-header h2 {
    margin-top: 1rem;
    font-size: 2rem;
    font-weight: 800;
}

.sidebar-nav {
    flex: 1;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    display: block;
    transition: all 0.3s;
    border-left: 4px solid transparent;
    font-weight: 600;
}

.nav-item:hover {
    background: rgba(255,255,255,0.1);
    border-left-color: white;
}

.nav-item.active {
    background: rgba(255,255,255,0.2);
    border-left-color: white;
}

.sidebar-footer {
    text-align: center;
    padding: 1rem;
    border-top: 2px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
}

.small-text {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: #FF6B6B;
    color: white;
    border: none;
    padding: 0.8rem 1.2rem;
    font-size: 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Main Content */
.main-content {
    margin-left: 280px;
    flex: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-header {
    background: linear-gradient(135deg, #FF6B6B 0%, #C44569 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.header-tagline {
    font-size: 1.2rem;
    opacity: 0.95;
}

.document-date {
    font-style: italic;
    opacity: 0.9;
}

/* Quick Info Badges */
.quick-info {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    background: white;
    margin: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.info-badge {
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    min-width: 200px;
}

.badge-free {
    background: linear-gradient(135deg, #a8e6cf 0%, #56ab91 100%);
}

.badge-safe {
    background: linear-gradient(135deg, #ffd3a5 0%, #fd6585 100%);
}

.badge-adult {
    background: linear-gradient(135deg, #c1c8e4 0%, #84cdfa 100%);
}

.badge-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.info-badge h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

/* Intro Section */
.intro-section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-section h2 {
    color: #FF6B6B;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.intro-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

/* Game Showcase */
.game-showcase {
    background: white;
    padding: 3rem 2rem;
    margin: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.showcase-header {
    text-align: center;
    margin-bottom: 2rem;
}

.showcase-header h2 {
    color: #FF6B6B;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.showcase-header p {
    font-size: 1.1rem;
    color: #666;
}

.game-frame {
    max-width: 900px;
    margin: 0 auto 2rem;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
}

.game-frame iframe {
    width: 100%;
    min-height: 600px;
    border-radius: 8px;
}

.game-notes {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.note-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #FF6B6B;
}

.note-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.note-text {
    flex: 1;
}

/* Core Principles */
.core-principles {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.core-principles h2 {
    text-align: center;
    color: #FF6B6B;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 800;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.principle-card {
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.card-red {
    background: linear-gradient(135deg, #ffcccc 0%, #ff9999 100%);
}

.card-blue {
    background: linear-gradient(135deg, #b3d9ff 0%, #66b3ff 100%);
}

.card-orange {
    background: linear-gradient(135deg, #ffe6cc 0%, #ffb366 100%);
}

.principle-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

/* Why Torvra */
.why-torvra {
    background: white;
    padding: 3rem 2rem;
    margin: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.why-torvra h2 {
    text-align: center;
    color: #FF6B6B;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 800;
}

.reasons-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.reason-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.reason-number {
    width: 50px;
    height: 50px;
    background: #FF6B6B;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

.reason-content h4 {
    color: #FF6B6B;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

/* Important Notices */
.important-notices {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.notice-header {
    text-align: center;
    margin-bottom: 2rem;
}

.notice-header h2 {
    color: #FF6B6B;
    font-size: 2.5rem;
    font-weight: 800;
}

.notice-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.notice-block {
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid;
}

.warning-block {
    background: #fff3cd;
    border-color: #ffc107;
}

.info-block {
    background: #d1ecf1;
    border-color: #0dcaf0;
}

.age-block {
    background: #f8d7da;
    border-color: #dc3545;
}

.notice-block h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
}

/* Community Info */
.community-info {
    background: white;
    padding: 3rem 2rem;
    margin: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.community-info h2 {
    color: #FF6B6B;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.community-info p {
    max-width: 900px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.9;
}

.stats-display {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-box {
    padding: 2rem 3rem;
    background: linear-gradient(135deg, #FF6B6B 0%, #C44569 100%);
    color: white;
    border-radius: 15px;
    min-width: 150px;
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Footer */
.site-footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: auto;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-col h4 {
    color: #FF6B6B;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #FF6B6B;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bdc3c7;
}

/* Age Verification Modal */
.age-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-modal.hidden {
    display: none;
}

.age-modal-box {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 50px rgba(0,0,0,0.3);
}

.age-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.age-modal-box h2 {
    color: #FF6B6B;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 800;
}

.age-modal-box p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #333;
}

.age-warning {
    font-weight: 700;
    color: #FF6B6B;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.age-buttons button {
    flex: 1;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.2s;
}

.btn-yes {
    background: #28a745;
    color: white;
}

.btn-no {
    background: #dc3545;
    color: white;
}

.age-buttons button:hover {
    transform: scale(1.05);
}

/* Play Page */
.play-container {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.play-header {
    text-align: center;
    margin-bottom: 2rem;
}

.play-header h2 {
    color: #FF6B6B;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.game-player {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.game-player iframe {
    width: 100%;
    min-height: 650px;
    border-radius: 10px;
}

.game-guidelines {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.game-guidelines h3 {
    color: #FF6B6B;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.guideline-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.guideline-box h4 {
    color: #FF6B6B;
    margin-bottom: 1rem;
    font-weight: 700;
}

.guideline-box ul {
    list-style: none;
    padding-left: 0;
}

.guideline-box li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.guideline-box li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #FF6B6B;
}

.play-reminders {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.play-reminders h3 {
    color: #FF6B6B;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 800;
}

.reminder-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.reminder-box {
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 3px solid;
}

.reminder-virtual {
    background: #fff3cd;
    border-color: #ffc107;
}

.reminder-entertainment {
    background: #d1ecf1;
    border-color: #0dcaf0;
}

.reminder-age {
    background: #f8d7da;
    border-color: #dc3545;
}

.reminder-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.reminder-box h4 {
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* Legal Pages */
.legal-document {
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: #FF6B6B;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.legal-section h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.legal-section ul {
    margin-left: 2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.7rem;
    line-height: 1.7;
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.critical-notice {
    background: #fff3cd;
    padding: 2rem;
    border-radius: 15px;
    border: 3px solid #ffc107;
    margin-bottom: 3rem;
}

.critical-notice h2 {
    color: #FF6B6B;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 800;
}

.highlight-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #FF6B6B;
}

.summary-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.summary-box {
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 3px solid;
}

.box-age {
    background: #f8d7da;
    border-color: #dc3545;
}

.box-money {
    background: #fff3cd;
    border-color: #ffc107;
}

.box-entertainment {
    background: #d1ecf1;
    border-color: #0dcaf0;
}

.summary-box h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 800;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .quick-info {
        flex-direction: column;
        padding: 1rem;
    }
    
    .game-frame iframe {
        min-height: 400px;
    }
    
    .game-player iframe {
        min-height: 450px;
    }
    
    .stats-display {
        gap: 1.5rem;
    }
}
