/* Riftara - Dimensional Social Casino Styles */
/* Unique diagonal/angular design with purple-cyan gradient theme */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #8b5cf6;
    --secondary: #06b6d4;
    --dark: #0f0a1f;
    --darker: #080510;
    --light: #f0e6ff;
    --text: #e2d9f3;
    --text-muted: #9d8fba;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: var(--darker);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary);
}

/* Age Gate Overlay */
.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 5, 16, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.age-overlay.hidden {
    display: none;
}

.age-modal {
    background: linear-gradient(145deg, var(--dark), var(--darker));
    border: 2px solid var(--primary);
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.3);
    transform: skewY(-1deg);
}

.age-modal > * {
    transform: skewY(1deg);
}

.age-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.age-modal h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.age-modal p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1rem;
}

.age-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-confirm, .btn-deny {
    padding: 15px 35px;
    border: none;
    border-radius: 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-confirm {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn-confirm:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
}

.btn-deny {
    background: transparent;
    border: 2px solid var(--text-muted);
    color: var(--text-muted);
}

.btn-deny:hover {
    border-color: #ef4444;
    color: #ef4444;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(8, 5, 16, 0.9);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    max-width: 1600px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--light);
    text-decoration: none;
}

.logo:hover {
    color: var(--light);
}

.logo-icon {
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.5));
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.main-nav {
    display: flex;
    gap: 35px;
}

.main-nav a {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--light);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 20px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        linear-gradient(225deg, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.2) 0%, transparent 50%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translate(-50%, -50%) rotate(45deg);
    border: 1px solid rgba(139, 92, 246, 0.1);
    animation: rotateSquare 30s linear infinite;
}

@keyframes rotateSquare {
    to { transform: translate(-50%, -50%) rotate(405deg); }
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 7vw, 5rem);
    margin-bottom: 25px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--gradient);
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    box-shadow: 0 5px 30px rgba(139, 92, 246, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.6);
    color: white;
}

.cta-button:hover::before {
    left: 100%;
}

/* Notices Section */
.notices-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--darker) 0%, var(--dark) 100%);
}

.notices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.notice-card {
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.notice-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.notice-card:hover::before {
    opacity: 1;
}

.notice-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.2);
}

.notice-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.notice-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--light);
}

.notice-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Game Section */
.game-section {
    padding: 100px 20px;
    background: var(--dark);
}

.game-section h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 15px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-intro {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.game-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    aspect-ratio: 16/10;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.2);
}

.game-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Features Section */
.features-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--dark) 0%, var(--darker) 100%);
}

.features-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature-block {
    padding: 40px;
    background: rgba(139, 92, 246, 0.05);
    border-left: 4px solid var(--primary);
    position: relative;
    transition: all 0.3s ease;
}

.feature-block:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateX(10px);
}

.feature-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    position: absolute;
    top: 20px;
    right: 30px;
}

.feature-block h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--light);
}

.feature-block p {
    color: var(--text-muted);
}

/* About Section */
.about-section {
    padding: 100px 20px;
    background: var(--darker);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 30px;
    text-align: center;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--text-muted);
    text-align: center;
}

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    background: var(--dark);
}

.cta-box {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 15px;
    color: var(--light);
}

.cta-box p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Page Header */
.page-header {
    padding: 150px 20px 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--darker) 0%, var(--dark) 100%);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(139, 92, 246, 0.15), transparent 70%);
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 15px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    position: relative;
}

/* Play Page */
.play-section {
    padding: 60px 20px 100px;
    background: var(--dark);
}

.game-info-box {
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 30px 40px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 15px;
}

.game-info-box h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--light);
}

.game-instructions {
    list-style: none;
    display: grid;
    gap: 12px;
}

.game-instructions li {
    padding-left: 30px;
    position: relative;
    color: var(--text-muted);
}

.game-instructions li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--secondary);
}

.game-container-full {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    aspect-ratio: 16/10;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 80px rgba(139, 92, 246, 0.25);
}

.game-container-full iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.play-reminder {
    max-width: 900px;
    margin: 40px auto 0;
    padding: 20px 30px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 10px;
    text-align: center;
}

.play-reminder p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Content Section (Legal Pages) */
.content-section {
    padding: 60px 20px 100px;
    background: var(--dark);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-block {
    margin-bottom: 40px;
}

.legal-block h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--light);
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
}

.legal-block p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.legal-block ul {
    margin: 15px 0;
    padding-left: 25px;
}

.legal-block li {
    margin-bottom: 10px;
    color: var(--text-muted);
}

.legal-date {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.disclaimer-highlight {
    padding: 30px;
    background: rgba(139, 92, 246, 0.1);
    border-left: 4px solid var(--primary);
    margin-bottom: 40px;
    border-radius: 0 15px 15px 0;
}

.disclaimer-highlight h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--light);
}

.disclaimer-highlight p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.disclaimer-highlight p:last-child {
    margin-bottom: 0;
}

/* Footer */
.main-footer {
    background: var(--darker);
    padding: 60px 20px 30px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links h4,
.footer-responsible h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--light);
}

.footer-links a,
.footer-responsible a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-responsible a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .notices-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .features-layout {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--darker);
        flex-direction: column;
        padding: 100px 40px;
        gap: 25px;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(139, 92, 246, 0.2);
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav a {
        font-size: 1rem;
    }

    .hero-section {
        min-height: auto;
        padding: 140px 20px 100px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .age-modal {
        margin: 20px;
        padding: 40px 25px;
    }

    .cta-box {
        padding: 50px 25px;
    }

    .game-info-box {
        padding: 25px;
    }
}
