/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f5f5dc;
    background: linear-gradient(135deg, #2f1b14 0%, #3d2817 50%, #4a2c17 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* Age Restriction Banner */
.age-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #d2691e 0%, #8b4513 100%);
    color: #f5f5dc;
    z-index: 1000;
    padding: 8px 0;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(139, 69, 19, 0.3);
}

.age-banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.age-text {
    font-size: 16px;
    font-weight: 900;
}

.age-subtext {
    font-size: 14px;
    opacity: 0.8;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    background: rgba(47, 27, 20, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    padding: 15px 0;
    border-bottom: 1px solid rgba(139, 69, 19, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #f5f5dc;
}

.brand-logo svg {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 5px #8b4513);
    }
    to {
        filter: drop-shadow(0 0 15px #d2691e);
    }
}

.brand-name {
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(90deg, #8b4513 0%, #d2691e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: #f5f5dc;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #8b4513;
    transform: translateY(-2px);
}

.nav-link.active {
    color: #8b4513;
}

.nav-link.play-btn {
    background: linear-gradient(90deg, #8b4513 0%, #d2691e 100%);
    color: #f5f5dc;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.4);
}

.nav-link.play-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.6);
    color: #f5f5dc;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #8b4513;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
            circle at 20% 50%,
            rgba(139, 69, 19, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(210, 105, 30, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 40% 80%,
            rgba(139, 69, 19, 0.05) 0%,
            transparent 50%
        );
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.1) rotate(2deg);
    }
}

.hero-container {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #f5f5dc 0%, #8b4513 50%, #d2691e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(139, 69, 19, 0.3);
    animation: titlePulse 3s ease-in-out infinite;
}

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

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 30px;
    color: #e6d7c3;
}

.hero-subtitle em {
    color: #8b4513;
    font-style: normal;
    font-weight: 700;
}

.hero-description {
    font-size: 1.1rem;
    color: #d2b48c;
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(90deg, #8b4513 0%, #d2691e 100%);
    color: #f5f5dc;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.6);
    background: linear-gradient(90deg, #d2691e 0%, #8b4513 100%);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: linear-gradient(
        145deg,
        rgba(61, 40, 23, 0.8) 0%,
        rgba(74, 44, 23, 0.8) 100%
    );
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(139, 69, 19, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(139, 69, 19, 0.05) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #8b4513;
    box-shadow: 0 20px 40px rgba(139, 69, 19, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(139, 69, 19, 0.3);
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-number {
    color: #8b4513;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #f5f5dc;
}

.feature-description {
    color: #d2b48c;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Game Preview Section */
.game-preview-section {
    padding: 100px 0;
    text-align: center;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #8b4513 0%, #d2691e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.1rem;
    color: #d2b48c;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 60px;
}

.game-mockup {
    max-width: 500px;
    margin: 0 auto 50px;
}

.game-frame {
    background: linear-gradient(145deg, #3d2817 0%, #4a2c17 100%);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid rgba(139, 69, 19, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.game-screen {
    background: #2f1b14;
    border-radius: 15px;
    padding: 20px;
    border: 1px solid #8b4513;
}

.reels {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.reel {
    background: linear-gradient(145deg, #4a2c17 0%, #3d2817 100%);
    border-radius: 10px;
    padding: 20px 10px;
    border: 1px solid rgba(139, 69, 19, 0.5);
    animation: reelSpin 3s ease-in-out infinite;
}

@keyframes reelSpin {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.symbol {
    font-size: 2rem;
    margin: 10px 0;
    filter: drop-shadow(0 0 10px #8b4513);
}

.game-controls {
    display: flex;
    justify-content: center;
}

.control-panel {
    display: flex;
    gap: 30px;
}

.bet-display,
.credits-display {
    text-align: center;
}

.label {
    display: block;
    color: #8b4513;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.value {
    display: block;
    color: #f5f5dc;
    font-size: 1.2rem;
    font-weight: 700;
}

.cta-button {
    display: inline-block;
    padding: 20px 50px;
    background: linear-gradient(90deg, #8b4513 0%, #d2691e 100%);
    color: #f5f5dc;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 69, 19, 0.6);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.3);
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #8b4513;
}

.about-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 30px 0 15px;
    color: #d2691e;
}

.about-content p {
    color: #d2b48c;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-visual {
    position: relative;
    height: 300px;
}

.crypto-showcase {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-coin {
    position: absolute;
    font-size: 3rem;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 20px #8b4513);
}

.coin-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.coin-2 {
    top: 60%;
    left: 70%;
    animation-delay: 1.5s;
}

.coin-3 {
    top: 10%;
    right: 10%;
    animation-delay: 3s;
}

.coin-4 {
    bottom: 20%;
    left: 40%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 80px 0;
    background: linear-gradient(
        90deg,
        rgba(139, 69, 19, 0.1) 0%,
        rgba(210, 105, 30, 0.1) 100%
    );
    text-align: center;
}

.disclaimer-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #8b4513;
}

.disclaimer-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e6d7c3;
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: #2f1b14;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(139, 69, 19, 0.2);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-link {
    color: #d2b48c;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #8b4513;
}

.footer-disclaimer {
    text-align: center;
    margin-bottom: 40px;
}

.footer-disclaimer p {
    color: #a0522d;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    color: #a0522d;
    font-size: 0.9rem;
}

.rating-badge {
    background: linear-gradient(90deg, #8b4513 0%, #d2691e 100%);
    color: #f5f5dc;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .age-banner-content {
        flex-direction: column;
        gap: 5px;
    }

    .age-text {
        font-size: 14px;
    }

    .age-subtext {
        font-size: 12px;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-container {
        padding: 0 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .navbar {
        top: 35px;
    }

    .hero-section {
        padding-top: 80px;
    }

    .container {
        padding: 0 15px;
    }

    .feature-card {
        padding: 20px;
    }

    .game-frame {
        padding: 20px;
    }

    .reels {
        gap: 10px;
    }

    .symbol {
        font-size: 1.5rem;
        margin: 5px 0;
    }
}

/* Age Verification Popup */
.age-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.age-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.age-popup {
    background: linear-gradient(145deg, #3d2817 0%, #4a2c17 100%);
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 100%;
    border: 2px solid rgba(139, 69, 19, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.age-popup-overlay.show .age-popup {
    transform: scale(1);
}

.age-popup-header {
    background: linear-gradient(90deg, #8b4513 0%, #d2691e 100%);
    color: #f5f5dc;
    padding: 25px 30px;
    border-radius: 18px 18px 0 0;
    text-align: center;
}

.age-popup-header h2 {
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0;
}

.age-popup-content {
    padding: 30px;
}

.age-warning {
    background: rgba(210, 105, 30, 0.1);
    border: 1px solid rgba(210, 105, 30, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: center;
}

.age-warning p {
    margin: 0 0 10px 0;
    color: #f5f5dc;
    font-weight: 600;
}

.age-warning p:last-child {
    margin: 0;
    color: #e6d7c3;
    font-size: 0.95rem;
}

.free-play-notice {
    background: rgba(139, 69, 19, 0.1);
    border: 1px solid rgba(139, 69, 19, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
}

.free-play-notice h3 {
    color: #8b4513;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-align: center;
}

.free-play-notice ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.free-play-notice li {
    color: #e6d7c3;
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.free-play-notice li:last-child {
    margin-bottom: 0;
}

.age-verification {
    text-align: center;
}

.age-verification p {
    color: #f5f5dc;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 25px 0;
}

.age-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.age-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 140px;
}

.age-btn.confirm {
    background: linear-gradient(90deg, #8b4513 0%, #d2691e 100%);
    color: #f5f5dc;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.4);
}

.age-btn.confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.6);
}

.age-btn.deny {
    background: linear-gradient(90deg, #666 0%, #888 100%);
    color: #f5f5dc;
    box-shadow: 0 4px 15px rgba(102, 102, 102, 0.4);
}

.age-btn.deny:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 102, 102, 0.6);
    background: linear-gradient(90deg, #888 0%, #666 100%);
}

/* Mobile Responsive for Age Popup */
@media (max-width: 768px) {
    .age-popup {
        max-width: 90%;
        margin: 0 auto;
    }

    .age-popup-header {
        padding: 20px;
    }

    .age-popup-header h2 {
        font-size: 1.3rem;
    }

    .age-popup-content {
        padding: 20px;
    }

    .age-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .age-btn {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .age-popup-overlay {
        padding: 10px;
    }

    .age-popup-header {
        padding: 15px;
    }

    .age-popup-content {
        padding: 15px;
    }

    .age-warning,
    .free-play-notice {
        padding: 15px;
    }
}
