/* 8E88 Website - Main CSS */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #110c16;
}

/* Variables for Colors */
:root {
    --primary-dark: #2a003d;
    --primary-gradient: linear-gradient(270deg, #650acc, #360055);
    --secondary-gold: #f7d462;
    --secondary-gradient: linear-gradient(180deg, #fbe38c, #ebab51);
    --white: #ffffff;
    --black: #000000;
    --gray: #666666;
    --light-gray: #f4f4f4;
}

/* Header Styles */
header {
    background: #0e0012;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.btn-text {
    color: var(--white);
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;

}

.header-container {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-gold);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary-gold);
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    min-height: 44px;
    line-height: 1.2;
}

.section ul, .section ol {
    color: var(--white);
    list-style: none;
    padding: 15px 30px;
    background: var(--primary-gradient);
    margin-bottom: 10px;
    margin-top: 10px;
    border-radius: 10px;    
}

.btn-primary {
    background: linear-gradient(180deg,#fff 0,#fff500 35%,#ffb900);
    color: var(--primary-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(251, 227, 140, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    background: linear-gradient(180deg,#a46ad2 0,#8200e9 12%,#380060 51%,#8e00ff);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-dark);
}

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.burger-line {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: 0.3s;
}

/* Mobile/Desktop Icon/Text Toggle */
.mobile-icon {
    display: none;
}

.desktop-text {
    display: inline;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100%;
    max-height: 1400px;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(61, 0, 20, 0.7);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 0;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--white);
}

.section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--secondary-gold);
}

.section p {
    color: var(--light-gray);
    margin-bottom: 1rem;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--primary-dark);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary-gold);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--light-gray);
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.game-card {
    background: var(--primary-dark);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: scale(1.05);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-info {
    padding: 1.5rem;
}

.game-info h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.game-info p {
    color: var(--light-gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Slots Grid */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.slot-card {
    background: var(--primary-dark);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.slot-card:hover {
    transform: translateY(-5px);
}

.slot-card img {
    width: 100%;
    object-fit: cover;
}

.slot-info {
    padding: 1.5rem;
}

.slot-info h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.slot-info p {
    color: var(--light-gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--primary-dark);
    border-radius: 10px;
    overflow: hidden;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

th {
    background: var(--secondary-gradient);
    color: var(--primary-dark);
    font-weight: bold;
}

td {
    color: var(--light-gray);
}

/* Footer */
footer {
    background: var(--primary-gradient);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--secondary-gold);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: var(--light-gray);
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-section a:hover {
    color: var(--secondary-gold);
}

.payment-methods {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.payment-method {
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    color: var(--primary-dark);
    font-weight: bold;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--light-gray);
}

@media (max-width: 1300px) {

    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--primary-gradient);

        padding-top: 2rem;
        transition: left 0.3s ease;
    }

    nav .nav-menu {
        flex-direction: column;
        justify-content: start;
        align-items: center;
    }

    nav.active {
        left: 0;
    }

    .burger-menu {
        display: flex;
    }




}

/* Responsive Design */
@media (max-width: 768px) {

    .logo {
        height: 40px;   
    }

    .mobile-icon {
        display: none !important;
    }
    
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .slots-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 580px) {
    
    .auth-buttons .btn-text {
        display: none !important;
    }
}

@media (max-width: 520px) {
    
    .auth-buttons .btn {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    .auth-buttons .btn-secondary,
    .auth-buttons .btn-primary {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
    }


    /* Mobile Icon/Text Toggle */
    .mobile-icon {
        display: inline-block !important;
    }

    .desktop-text {
        display: none;
    }

    .logo {
        height: 30px;
    }
}


@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .games-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1281px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .games-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .slots-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Link Styles */
a {
    color: var(--secondary-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--white);
}

/* Special Styles for Referral Links */
.referral-link {
    background: var(--secondary-gradient);
    color: var(--primary-dark);
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.referral-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(251, 227, 140, 0.4);
    color: var(--primary-dark);
}

/* Form Styles */
.form-container {
    max-width: 500px;
    margin: 0 auto;
    background: var(--primary-dark);
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 5px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
select:focus {
    outline: none;
    border-color: var(--secondary-gold);
    box-shadow: 0 0 0 2px rgba(247, 212, 98, 0.2);
}

::placeholder {
    color: rgba(255,255,255,0.6);
}

/* Image Styles */
.hero-image {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    margin: 2rem 0;
}

.section-image {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    margin: 1rem 0;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--secondary-gradient);
    color: var(--primary-dark);
    padding: 1rem;
    border-radius: 5px;
    font-weight: bold;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

/* Loading Spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: var(--secondary-gold);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus Styles */
button:focus,
a:focus,
input:focus,
select:focus {
    outline: 2px solid var(--secondary-gold);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header-container,
    .footer-container,
    .burger-menu,
    .auth-buttons {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
} 

/* App Download Banner */
.app-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.app-banner.show {
    transform: translateY(0);
}

.app-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.app-banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.app-banner-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #667eea;
    flex-shrink: 0;
}

.app-banner-text {
    flex: 1;
}

.app-banner-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.app-banner-subtitle {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
    line-height: 1.3;
}

.app-banner-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.app-store-btn, .google-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.app-store-btn:hover, .google-play-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.app-store-btn i, .google-play-btn i {
    font-size: 16px;
}

.app-banner-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.app-banner-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .app-banner {
        padding: 12px 16px;
    }
    
    .app-banner-container {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .app-banner-content {
        gap: 12px;
    }
    
    .app-banner-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .app-banner-title {
        font-size: 16px;
    }
    
    .app-banner-subtitle {
        font-size: 13px;
    }
    
    .app-banner-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .app-store-btn, .google-play-btn {
        flex: 1;
        justify-content: center;
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .app-banner-close {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .app-banner-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .app-store-btn, .google-play-btn {
        width: 100%;
    }
}

/* Animation for smooth appearance */
@keyframes slideUpBanner {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.app-banner.animate-in {
    animation: slideUpBanner 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
} 