/* Joy88 Casino Homepage Styles */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #4a90e2;
    --accent-color: #f39c12;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
    --dark-bg: #1a1a2e;
    --darker-bg: #16213e;
    --text-light: #ffffff;
    --text-dark: #333333;
    --gradient-primary: linear-gradient(135deg, #ff6b35, #f39c12);
    --gradient-secondary: linear-gradient(135deg, #4a90e2, #9b59b6);
    --gradient-success: linear-gradient(135deg, #27ae60, #2ecc71);
    --neon-glow: 0 0 20px rgba(255, 107, 53, 0.6);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ticker/Running Line */
.ticker-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--gradient-primary);
    padding: 8px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.ticker {
    display: flex;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    margin-right: 50px;
    font-weight: 500;
    font-size: 14px;
}

.ticker-item i {
    margin-right: 8px;
    animation: pulse 2s infinite;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Header */
.header {
    position: fixed;
    top: 35px;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 999;
    border-bottom: 2px solid var(--primary-color);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: var(--neon-glow);
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav a:hover,
.nav a.active {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: var(--neon-glow);
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn-login,
.btn-register {
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid;
    position: relative;
    overflow: hidden;
}

.btn-login {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: transparent;
}

.btn-login:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.btn-register {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.btn-register:hover {
    transform: scale(1.05);
    box-shadow: var(--neon-glow);
}

/* Main Content */
main {
    margin-top: 120px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(45deg, var(--dark-bg), var(--darker-bg));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-left h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.8)); }
}

.hero-left p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.9;
}

.btn-participate {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.btn-participate:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    border: 3px solid var(--primary-color);
    box-shadow: var(--card-shadow);
}

/* Promo Cards */
.promo-cards {
    padding: 60px 0;
    background: var(--darker-bg);
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: all 0.5s ease;
}

.card:hover::before {
    left: 100%;
}

.cashback-card {
    background: var(--gradient-secondary);
}

.bonus-card {
    background: var(--gradient-success);
}

.card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.btn-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-card:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.card img {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    opacity: 1;
}

/* Game Categories */
.game-categories {
    padding: 80px 0;
    background: var(--dark-bg);
}

.game-categories h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.category-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.category-info h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.category-info span {
    color: var(--accent-color);
    font-weight: 500;
}

.category-card img {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    opacity: 0.7;
    border: 2px solid var(--primary-color);
}

/* Welcome Section */
.welcome-section {
    padding: 80px 0;
    background: var(--darker-bg);
}

.welcome-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.welcome-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-content h3 {
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 30px;
    font-weight: 600;
}

.welcome-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--dark-bg);
}

.features h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: spin 4s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.feature-card p {
    line-height: 1.6;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 2px solid;
}

.btn-cta.primary {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.btn-cta.primary:hover {
    background: transparent;
    color: white;
    transform: scale(1.05);
}

.btn-cta.secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-cta.secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 60px 0 20px;
    border-top: 2px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.footer-logo img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    border-radius: 50%;
}

.footer-section h4 {
    color: var(--accent-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.payment-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fab-register,
.fab-login {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
    animation: pulse-float 2s ease-in-out infinite;
}

@keyframes pulse-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.05); }
}

.fab-register {
    background: var(--gradient-primary);
    color: white;
}

.fab-login {
    background: var(--gradient-secondary);
    color: white;
}

.fab-register:hover,
.fab-login:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
			padding-top: 50px;
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-left h1 {
        font-size: 32px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .nav ul {
        display: none;
    }
    
    .auth-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .floating-buttons {
        right: 10px;
        bottom: 10px;
    }
    
    .fab-register,
    .fab-login {
        padding: 10px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .ticker-item {
        font-size: 12px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-left h1 {
        font-size: 24px;
    }
    
    .welcome-content h2,
    .features h2,
    .game-categories h2 {
        font-size: 28px;
    }
    
    .category-card,
    .feature-card {
        padding: 20px;
    }
}
