/* Ragnoria Social Casino - Futuristic Sidebar Design */

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

:root {
    --primary-color: #ff006e;
    --secondary-color: #8338ec;
    --dark-bg: #0a0e27;
    --card-bg: #1a1f3a;
    --text-light: #ffffff;
    --text-gray: #b8b8d1;
    --accent-green: #06ffa5;
    --sidebar-width: 280px;
}

body {
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1230 100%);
    color: var(--text-light);
    min-height: 100vh;
    line-height: 1.6;
}

/* 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;
    backdrop-filter: blur(10px);
}

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

.age-modal-content {
    background: linear-gradient(135deg, var(--card-bg) 0%, #0f1428 100%);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 50px rgba(255, 0, 110, 0.4);
}

.age-modal-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.age-modal-content h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 900;
}

.age-modal-content p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: var(--text-gray);
}

.age-disclaimer {
    font-size: 0.95em !important;
    color: var(--accent-green);
}

.age-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.btn-confirm,
.btn-deny {
    padding: 15px 30px;
    font-size: 1.1em;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-confirm {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 0, 110, 0.5);
}

.btn-deny {
    background: #2a2a4a;
    color: var(--text-gray);
}

.btn-deny:hover {
    background: #3a3a5a;
}

/* Hamburger Menu */
.hamburger {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: var(--primary-color);
    border: none;
    padding: 12px;
    cursor: pointer;
    border-radius: 8px;
    display: none;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(255, 0, 110, 0.4);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 3px;
}

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

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

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

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, var(--card-bg) 0%, #0f1428 100%);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    border-right: 3px solid var(--primary-color);
    box-shadow: 5px 0 30px rgba(255, 0, 110, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.logo {
    text-align: center;
    margin-bottom: 50px;
}

.logo svg {
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(255, 0, 110, 0.6));
}

.logo h1 {
    font-size: 1.8em;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: 3px;
}

.sidebar nav {
    flex-grow: 1;
}

.sidebar nav a {
    display: block;
    padding: 15px 20px;
    margin-bottom: 10px;
    color: var(--text-gray);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 1px;
}

.sidebar nav a:hover {
    background: rgba(255, 0, 110, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

.sidebar nav a.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 5px 20px rgba(255, 0, 110, 0.4);
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 0, 110, 0.3);
}

.sidebar-notice {
    text-align: center;
    padding: 8px;
    margin-bottom: 10px;
    background: rgba(6, 255, 165, 0.1);
    border-radius: 5px;
    color: var(--accent-green);
    font-size: 0.85em;
    font-weight: 700;
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5em;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.4em;
    font-weight: 400;
    opacity: 0.95;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: 60px 20px;
    text-align: center;
}

.page-header h2 {
    font-size: 2.5em;
    font-weight: 900;
    margin-bottom: 10px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sections */
.intro-section,
.notices-section,
.game-section,
.features-section,
.community-section,
.play-section,
.legal-section {
    padding: 80px 20px;
}

.intro-section h3,
.notices-section h3,
.game-section h3,
.features-section h3,
.community-section h3 {
    font-size: 2.2em;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-weight: 900;
    text-align: center;
}

.intro-section p {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}

/* Notice Cards */
.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.notice-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 15px;
    border: 2px solid rgba(255, 0, 110, 0.3);
    transition: all 0.3s ease;
}

.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(255, 0, 110, 0.3);
    border-color: var(--primary-color);
}

.notice-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.notice-card h4 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
}

.notice-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Game Container */
.game-container {
    margin: 40px auto;
    max-width: 900px;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 10px 50px rgba(255, 0, 110, 0.4);
    background: #000;
}

.game-container iframe {
    width: 100%;
    height: 600px;
    display: block;
}

.game-intro,
.game-note {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.game-note {
    margin-top: 20px;
    font-size: 0.95em;
    color: var(--accent-green);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 110, 0.2);
}

.feature-item h5 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: var(--accent-green);
    font-weight: 700;
}

.feature-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Stats Display */
.stats-display {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-size: 3.5em;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2em;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Play Section */
.play-intro h3 {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.play-intro p {
    font-size: 1.1em;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.play-instructions {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    border-left: 4px solid var(--primary-color);
}

.play-instructions h4 {
    font-size: 1.4em;
    margin-bottom: 20px;
    color: var(--accent-green);
}

.play-instructions ul {
    list-style: none;
    padding-left: 0;
}

.play-instructions li {
    padding: 12px 0;
    color: var(--text-gray);
    line-height: 1.7;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.play-instructions li:last-child {
    border-bottom: none;
}

.play-instructions strong {
    color: var(--primary-color);
}

.play-footer {
    margin-top: 40px;
    padding: 30px;
    background: rgba(6, 255, 165, 0.05);
    border-radius: 15px;
}

.play-note,
.play-reminder {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--text-gray);
}

/* Legal Content */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-gray);
}

.legal-content h3 {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.legal-content h4 {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--accent-green);
}

.legal-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.legal-content ul {
    margin: 20px 0 20px 40px;
    line-height: 1.8;
}

.legal-content li {
    margin-bottom: 10px;
}

.legal-footer {
    margin-top: 50px;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    font-size: 1.1em;
}

.disclaimer-highlight {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1), rgba(131, 56, 236, 0.1));
    padding: 30px;
    border-radius: 15px;
    border: 2px solid var(--primary-color);
    margin: 30px 0;
}

.disclaimer-highlight h3 {
    margin-top: 0;
    font-size: 1.6em;
}

/* Footer */
.footer {
    background: var(--card-bg);
    padding: 60px 20px 40px;
    margin-top: 80px;
    border-top: 3px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    font-size: 1.3em;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.footer-section p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 10px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    :root {
        --sidebar-width: 250px;
    }

    .hamburger {
        display: flex;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .hero-title {
        font-size: 2.2em;
    }

    .hero-subtitle {
        font-size: 1.1em;
    }

    .page-header h2 {
        font-size: 2em;
    }

    .intro-section h3,
    .notices-section h3,
    .game-section h3,
    .features-section h3,
    .community-section h3 {
        font-size: 1.8em;
    }

    .game-container iframe {
        height: 400px;
    }

    .stat-number {
        font-size: 2.5em;
    }

    .notice-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .age-modal-content {
        padding: 30px 20px;
    }

    .age-modal-content h2 {
        font-size: 1.5em;
    }

    .age-buttons {
        flex-direction: column;
    }

    .stats-display {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8em;
    }

    .game-container iframe {
        height: 300px;
    }

    .logo h1 {
        font-size: 1.4em;
    }
}
