* {
    box-sizing: border-box;
    transition: 0.4s ease all;
}

body {
    margin: 0;
    font-family: "Montserrat", serif;
    background: #120F1C;
    color: #FFE5CC;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(139, 0, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(184, 134, 11, 0.1) 0%, transparent 50%);
}

.bg {
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23231C35' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");

}


.navbar {
    background: rgba(18, 15, 28, 0.95);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 700;
    position: relative;
}

.navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #FFD700, transparent);
    transition: width 0.3s ease;
}

.navbar a:hover::after {
    width: 100%;
}

.navbar a:hover {
    opacity: 1;
    color: #FFF;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.casino-item {
    background: rgba(35, 28, 53, 0.95);
    border: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateX(0deg);
    transition: all 0.5s ease;
}

.casino-item:hover {
    transform: perspective(1000px) rotateX(2deg) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.3);
}

.btn {
    font-weight: bold;
    padding: 12px 35px;
    border-radius: 5px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-red {
    background: linear-gradient(135deg, #8B0000 0%, #CC0000 100%);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.btn-blue {
    background: linear-gradient(135deg, #000066 0%, #0000CC 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 102, 0.3);
}

.btn-green {
    background: linear-gradient(135deg, #006400 0%, #008000 100%);
    box-shadow: 0 4px 15px rgba(0, 100, 0, 0.3);
}

.btn-light-red {
    background: linear-gradient(135deg, #DC143C 0%, #FF4500 100%);
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

footer {
    background: rgba(35, 28, 53, 0.95);
    border: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.footer-age {
    background: rgba(25, 20, 38, 0.95);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

h1, h2, h3, h4 {
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: -1;
}

h1::after, h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, transparent);
}

.modal {
    background: rgba(35, 28, 53, 0.98);
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    color: #FFE5CC;
}

.modal .age-circle {
    background: linear-gradient(135deg, #8B0000 0%, #CC0000 100%);
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.3);
}

.modal button {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: none;
    color: #120F1C;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.modal button:hover {
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
    transform: translateY(-2px);
}

@keyframes shine {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}