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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #0B0E1F;
    min-height: 100vh;
}

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

/* Header Styles */
.header {
    background: rgba(11, 14, 31, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand h1 {
    color: #01FF80;
    font-size: 1.8rem;
    font-weight: 700;
}

.logo {
    height: 30px;
    width: auto;
    max-width: 150px;
}

.brand-text {
    color: #01FF80;
    font-size: 1.8rem;
    font-weight: 700;
    margin-left: 0.5rem;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #01FF80;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 120px 2rem 2rem;
    background: #0B0E1F;
    color: white;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: #01FF80;
    color: #0B0E1F;
}

.btn-primary:hover {
    background: #01CC66;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(1, 255, 128, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #0B0E1F;
    transform: translateY(-2px);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-dice {
    position: relative;
    width: 300px;
    height: 300px;
}

.floating-dice i {
    position: absolute;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    animation: float 3s ease-in-out infinite;
}

.floating-dice i:nth-child(1) { top: 0; left: 50%; animation-delay: 0s; }
.floating-dice i:nth-child(2) { top: 20%; right: 0; animation-delay: 0.5s; }
.floating-dice i:nth-child(3) { bottom: 20%; left: 0; animation-delay: 1s; }
.floating-dice i:nth-child(4) { bottom: 0; left: 50%; animation-delay: 1.5s; }
.floating-dice i:nth-child(5) { top: 50%; left: 0; animation-delay: 2s; }
.floating-dice i:nth-child(6) { top: 50%; right: 0; animation-delay: 2.5s; }

/* Games Section */
.games-section {
    padding: 80px 0;
    background: #0B0E1F;
}

.games-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #01FF80;
}

.games-section > .container > p {
    text-align: center;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 3rem;
}

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

.game-card {
    background: rgba(1, 255, 128, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(1, 255, 128, 0.2);
    border-color: #01FF80;
}

.game-icon {
    font-size: 3rem;
    color: #01FF80;
    margin-bottom: 1rem;
}

.game-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.game-card p {
    color: #cccccc;
    margin-bottom: 1.5rem;
}

.game-features {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.game-features span {
    background: rgba(1, 255, 128, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #01FF80;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: rgba(1, 255, 128, 0.05);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #01FF80;
}

.about-text p {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 2rem;
}

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

.feature {
    text-align: center;
    padding: 1.5rem;
}

.feature i {
    font-size: 2.5rem;
    color: #01FF80;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.feature p {
    color: #cccccc;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #0B0E1F;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #01FF80;
}

.contact-section > .container > p {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #01FF80;
}

.contact-item p {
    font-size: 1.1rem;
    color: #ffffff;
}

/* Footer */
.footer {
    background: rgba(1, 255, 128, 0.1);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #01FF80;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #01FF80;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #ccc;
}

/* Welcome Popup Styles */
.welcome-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 14, 31, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.popup-content {
    background: linear-gradient(145deg, #1a1f2e, #0f1419);
    border-radius: 25px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(1, 255, 128, 0.2), 0 0 0 1px rgba(1, 255, 128, 0.1);
    border: 2px solid rgba(1, 255, 128, 0.2);
    transform: scale(0.8);
    transition: all 0.3s ease;
    overflow: hidden;
}

.welcome-popup.show .popup-content {
    transform: scale(1);
}

.popup-header {
    background: linear-gradient(145deg, #01FF80, #01CC66);
    color: #0B0E1F;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.popup-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.close-popup {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(11, 14, 31, 0.2);
    color: #0B0E1F;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-popup:hover {
    background: rgba(11, 14, 31, 0.4);
    transform: scale(1.1);
}

.popup-body {
    padding: 2.5rem;
    text-align: center;
    color: #ffffff;
}

.gift-icon {
    font-size: 4rem;
    color: #01FF80;
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.popup-body h3 {
    font-size: 1.8rem;
    color: #01FF80;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(1, 255, 128, 0.3);
}

.popup-body p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.credit-amount {
    background: rgba(1, 255, 128, 0.1);
    border: 2px solid #01FF80;
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 0 20px rgba(1, 255, 128, 0.2);
}

.credit-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #01FF80;
    text-shadow: 0 0 15px rgba(1, 255, 128, 0.5);
    margin-bottom: 0.5rem;
}

.credit-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.popup-description {
    font-size: 1rem;
    color: #cccccc;
    margin-top: 1rem;
}

.popup-footer {
    padding: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    background: rgba(1, 255, 128, 0.05);
}

.claim-btn {
    background: linear-gradient(145deg, #01FF80, #01CC66);
    color: #0B0E1F;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(1, 255, 128, 0.3);
    flex: 1;
}

.claim-btn:hover {
    background: linear-gradient(145deg, #01CC66, #01FF80);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(1, 255, 128, 0.4);
}

.skip-btn {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.skip-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Responsive Design for Popup */
@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        margin: 1rem;
    }
    
    .popup-header {
        padding: 1.5rem;
    }
    
    .popup-header h2 {
        font-size: 1.5rem;
    }
    
    .popup-body {
        padding: 2rem 1.5rem;
    }
    
    .popup-footer {
        padding: 1.5rem;
        flex-direction: column;
    }
    
    .credit-number {
        font-size: 2.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #0B0E1F;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 1rem 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    .floating-dice {
        width: 200px;
        height: 200px;
    }

    .floating-dice i {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

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