:root {
    --primary-color: #dcb109;
    /* Gold */
    --primary-dark: #b89206;
    --secondary-color: #e50914;
    /* Red */
    --secondary-dark: #b20710;
    --dark-bg: #0f0f0f;
    --darker-bg: #080808;
    --card-bg: #1a1a1a;
    --text-main: #ffffff;
    --text-muted: #b3b3b3;
    --gold-gradient: linear-gradient(45deg, #dcb109 0%, #fae16d 50%, #dcb109 100%);
    --red-gradient: linear-gradient(45deg, #e50914 0%, #ff4b55 50%, #e50914 100%);
    --dark-gradient: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    --overlay-gradient: linear-gradient(to top, #0f0f0f 10%, rgba(15, 15, 15, 0.6) 100%);
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-main);
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Utilities */
.text-gold {
    color: var(--primary-color) !important;
}

.bg-gold {
    background-color: var(--primary-color) !important;
}

.bg-darker {
    background-color: var(--darker-bg) !important;
}

.bg-dark-transparent {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

/* Navbar */
.navbar {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(220, 177, 9, 0.2);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Buttons */
.btn-gold {
    background: var(--gold-gradient);
    color: #000;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
    background-size: 200% auto;
}

.btn-gold:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 177, 9, 0.4);
    color: #000;
}

.btn-outline-gold {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s;
}

.btn-outline-gold:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 15px rgba(220, 177, 9, 0.5);
}

.btn-danger {
    background: var(--red-gradient);
    border: none;
    background-size: 200% auto;
    transition: all 0.3s;
}

.btn-danger:hover {
    background-position: right center;
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.4);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
    /* Navbar height */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://placehold.co/1920x1080/0f0f0f/dcb109?text=Hero+Background+Image') center/cover no-repeat;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-gradient);
    z-index: 1;
}

.hero-title {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Features */
.feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

/* Category Cards */
.category-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
    cursor: pointer;
}

.category-card:hover {
    background: linear-gradient(135deg, #222 0%, #1a1a1a 100%);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.category-card i {
    transition: transform 0.3s ease-in-out;
}

.category-card:hover i {
    transform: scale(1.2);
}

/* Casino Cards */
.casino-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    height: 250px;
}

.casino-card img {
    transition: transform 0.5s;
    height: 100%;
    object-fit: cover;
}

.casino-card:hover img {
    transform: scale(1.1);
}

.casino-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    height: 50%;
    transition: height 0.3s;
}

.casino-card:hover .casino-overlay {
    height: 70%;
}

/* Steps */
.step-card {
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    box-shadow: 0 0 20px rgba(220, 177, 9, 0.3);
}

/* Icons */
.icon-box-sm {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Form Section */
.bg-gold-gradient {
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
    position: relative;
}

.bg-gold-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.1;
    pointer-events: none;
}

#idRequestForm .form-control:focus {
    box-shadow: 0 0 0 3px rgba(220, 177, 9, 0.25);
    border-color: var(--primary-color);
}

/* Animations */
@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 177, 9, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(220, 177, 9, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(220, 177, 9, 0);
    }
}

.pulse-anim {
    animation: pulse-gold 2s infinite;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .navbar-collapse {
        background: #0f0f0f;
        padding: 20px;
        border-radius: 0 0 10px 10px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Prevent horizontal overflow on mobile */
    .container,
    .container-fluid {
        overflow-x: hidden;
        max-width: 100%;
    }

    .row {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

    .row>* {
        padding-left: 12px;
        padding-right: 12px;
    }
}