/* CSS Variables for Theme Colors */
:root {
    --primary: #3B0B5A;
    --dark: #1E0736;
    --magenta: #E63E8C;
    --pink: #FF4FA3;
    --gold: #F4B000;
    --deep-gold: #C58A00;
    --ivory: #FFF5E6;
    --white: #FFFFFF;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.7);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 50%, var(--magenta) 100%);
    background-attachment: fixed;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    background: rgba(30, 7, 54, 0.95);
    backdrop-filter: blur(10px);
    /* padding: 1rem 0; */
    box-shadow: 0 4px 20px rgba(230, 62, 140, 0.2);
    transition: all 0.3s ease;
}

.navbar-brand .logo {
    height: 90px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand .logo:hover {
    transform: scale(1.05);
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--gold) !important;
}

/* Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--magenta), var(--pink));
    border: none;
    color: var(--white);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 62, 140, 0.4);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(230, 62, 140, 0.6);
    background: linear-gradient(135deg, var(--pink), var(--magenta));
}

.btn-secondary-custom {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(244, 176, 0, 0.4);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--deep-gold));
    border: none;
    color: var(--dark);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 176, 0, 0.4);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(244, 176, 0, 0.6);
    color: var(--dark);
}

.btn-game {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-game:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(230, 62, 140, 0.3) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), var(--ivory), var(--gold));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
    line-height: 1.2;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Section Titles */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--ivory));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Featured Games Section */
.featured-games {
    background: rgba(30, 7, 54, 0.5);
    backdrop-filter: blur(10px);
}

.game-card {
    background: linear-gradient(135deg, rgba(59, 11, 90, 0.8), rgba(30, 7, 54, 0.8));
    border: 1px solid rgba(230, 62, 140, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(230, 62, 140, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--magenta);
    box-shadow: 0 10px 40px rgba(230, 62, 140, 0.5);
}

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

.game-icon {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.game-card:hover .game-icon {
    transform: scale(1.1) rotate(5deg);
}

.game-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ivory);
    margin-bottom: 1rem;
}

.game-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Promotions Section */
.promotions {
    padding: 5rem 0;
}

.promo-card {
    background: linear-gradient(135deg, rgba(59, 11, 90, 0.9), rgba(30, 7, 54, 0.9));
    border: 2px solid var(--gold);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(244, 176, 0, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(244, 176, 0, 0.4);
    border-color: var(--ivory);
}

.promo-badge {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold), var(--deep-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--dark);
    box-shadow: 0 4px 20px rgba(244, 176, 0, 0.5);
}

.promo-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ivory);
    margin-bottom: 1rem;
}

.promo-amount {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), var(--ivory));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.promo-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Why KingsRoad Section */
.why-kingsroad {
    background: rgba(30, 7, 54, 0.5);
    backdrop-filter: blur(10px);
}

.feature-card {
    background: linear-gradient(135deg, rgba(59, 11, 90,1), rgba(30, 7, 54,1));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--pink);
    box-shadow: 0 10px 30px rgba(255, 79, 163, 0.3);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--magenta);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ivory);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.security-badges {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge-item {
    background: rgba(244, 176, 0, 0.2);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, rgba(230, 62, 140, 0.3), rgba(255, 79, 163, 0.3));
    border-top: 2px solid var(--magenta);
    border-bottom: 2px solid var(--magenta);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: slide 3s infinite;
}

@keyframes slide {
    to {
        left: 100%;
    }
}

.cta-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--ivory);
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: rgba(30, 7, 54, 0.95);
    border-top: 1px solid rgba(230, 62, 140, 0.3);
}

.footer-logo {
    height: 100px;
    width: auto;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--magenta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--magenta);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--magenta);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 62, 140, 0.4);
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.footer-disclaimer {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(30, 7, 54, 0.98);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }

    .hero {
        padding-top: 100px;
    }

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

    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .promo-amount {
        font-size: 2.5rem;
    }
}

/* Accessibility */
.btn:focus,
.nav-link:focus,
a:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}



