* {
    box-sizing: border-box;
    transition: 0.4s ease all;
}

body {
    margin: 0;
    font-family: "Montserrat", serif;
    background: #0B1622; /* Deep blue-black like a winter night */
    color: #E8EDF2; /* Ice white with slight blue tint */
}

h1, h2, h3, h4 {
    font-weight: 700;
    text-transform: uppercase;
    color: #CBD5E1; /* Frosty silver */
    text-shadow: 0 0 10px rgba(147, 197, 253, 0.3); /* Subtle ice glow */
}

.bg {
    background: linear-gradient(rgba(11, 22, 34, 0.8), rgba(11, 22, 34, 0.8)),
                url("../img/bg.png");
    position: relative;
}

.bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(147, 197, 253, 0.1) 0%, transparent 100%);
    opacity: 0.1;
    pointer-events: none;
}

.navbar {
    background: rgba(15, 23, 42, 0.95); /* Dark navy with transparency */
    border-bottom: 1px solid rgba(147, 197, 253, 0.2); /* Subtle ice border */
}

.menu-items li {
    list-style: none;
    font-size: 18px;
}

.navbar a {
    color: #CBD5E1;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease-in-out;
}

.navbar a:hover {
    color: #93C5FD; /* Ice blue highlight */
    text-shadow: 0 0 8px rgba(147, 197, 253, 0.5);
}

.casino-item {
    background: rgba(30, 41, 59, 0.8); /* Deep slate blue */
    border: 1px solid rgba(147, 197, 253, 0.3);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(11, 22, 34, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.casino-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(147, 197, 253, 0.2);
}

.btn {
    font-weight: bold;
    padding: 12px 32px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-red {
    background: #1E293B; /* Dark slate */
    color: #CBD5E1;
    border: 1px solid #93C5FD;
}

.btn-white {
    background: #CBD5E1;
    color: #0B1622;
}

.btn-blue {
    background: #1E40AF; /* Deep royal blue */
    color: #E8EDF2;
}

.btn-green {
    background: #134E4A; /* Deep teal */
    color: #E8EDF2;
}

.btn-light-red {
    background: #1E293B;
    color: #E8EDF2;
    border: 1px solid #93C5FD;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(147, 197, 253, 0.3);
}

footer {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(147, 197, 253, 0.2);
    backdrop-filter: blur(8px);
}

.footer-age {
    background: #0B1622;
    border: 1px solid rgba(147, 197, 253, 0.1);
}

.modal {
    background: #1E293B;
    border: 1px solid #93C5FD;
    color: #E8EDF2;
    box-shadow: 0 8px 32px rgba(147, 197, 253, 0.2);
}

.modal .age-circle {
    background: #1E40AF;
    border: 2px solid #93C5FD;
}

.modal button {
    background: #93C5FD;
    color: #0B1622;
    font-weight: bold;
    transition: all 0.3s ease;
}

.modal button:hover {
    background: #60A5FA;
    transform: translateY(-2px);
}

/* Custom color palette:
Main Background: #0B1622 (Deep blue-black)
Secondary Background: #1E293B (Dark slate blue)
Accent: #93C5FD (Ice blue)
Text: #E8EDF2 (Ice white)
Secondary Text: #CBD5E1 (Frosty silver)
Highlights: #60A5FA (Bright ice blue)
Deep Accents: #1E40AF (Royal blue)
*/
* {
    box-sizing: border-box;
    transition: 0.4s ease all;
}

@keyframes snowfall {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 500px 1000px, 400px 400px, 300px 300px;
    }
}

@keyframes iceGlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes frostGrow {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

body {
    margin: 0;
    font-family: "Montserrat", serif;
    background: #0B1622;
    color: #E8EDF2;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 1.5%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 1%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 0.5%);
    background-size: 500px 500px, 400px 400px, 300px 300px;
    animation: snowfall 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

h1, h2, h3, h4 {
    font-weight: 700;
    text-transform: uppercase;
    color: #CBD5E1;
    text-shadow:
        0 0 10px rgba(147, 197, 253, 0.3),
        0 0 20px rgba(147, 197, 253, 0.2);
    position: relative;
}

h1::after, h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(147, 197, 253, 0.5),
        rgba(147, 197, 253, 0.8),
        rgba(147, 197, 253, 0.5),
        transparent
    );
    animation: iceGlow 3s ease-in-out infinite;
}

.bg {
    background: linear-gradient(rgba(11, 22, 34, 0.8), rgba(11, 22, 34, 0.8)),
                url("../img/bg.png");
    position: relative;
    overflow: hidden;
}

.bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, rgba(147, 197, 253, 0.1) 0%, transparent 100%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.02) 10px,
            rgba(255, 255, 255, 0.02) 20px
        );
    pointer-events: none;
}

.navbar {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(147, 197, 253, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(147, 197, 253, 0.5),
        transparent
    );
}

.menu-items li {
    list-style: none;
    font-size: 18px;
    position: relative;
}

.navbar a {
    color: #CBD5E1;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.navbar a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 1px;
    background: #93C5FD;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar a:hover {
    color: #93C5FD;
    text-shadow: 0 0 8px rgba(147, 197, 253, 0.5);
}

.navbar a:hover::before {
    width: 100%;
}

.casino-item {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(147, 197, 253, 0.3);
    backdrop-filter: blur(8px);
    box-shadow:
        0 4px 20px rgba(11, 22, 34, 0.4),
        inset 0 0 20px rgba(147, 197, 253, 0.1);
    transition: all 0.3s ease;
    position: relative;
    animation: frostGrow 0.5s ease-out forwards;
}

.casino-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(125deg,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 40%,
            transparent 60%,
            rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.casino-item:hover {
    transform: translateY(-5px);
    box-shadow:
        0 8px 30px rgba(147, 197, 253, 0.2),
        inset 0 0 30px rgba(147, 197, 253, 0.2);
}

.casino-item:hover::before {
    opacity: 1;
}

.btn {
    font-weight: bold;
    padding: 12px 32px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: 0.5s;
}

.btn:hover::after {
    left: 100%;
}

.btn-red, .btn-light-red {
    background: linear-gradient(135deg, #1E293B, #2A4365);
    color: #CBD5E1;
    border: 1px solid #93C5FD;
}

.btn-white {
    background: linear-gradient(135deg, #CBD5E1, #E8EDF2);
    color: #0B1622;
}

.btn-blue {
    background: linear-gradient(135deg, #1E40AF, #2563EB);
    color: #E8EDF2;
}

.btn-green {
    background: linear-gradient(135deg, #134E4A, #0F766E);
    color: #E8EDF2;
}

.footer-age {
    background: #0B1622;
    border: 1px solid rgba(147, 197, 253, 0.1);
    position: relative;
}

.footer-age::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.02) 10px,
        rgba(255, 255, 255, 0.02) 20px
    );
}

.modal {
    background: linear-gradient(135deg, #1E293B, #2A4365);
    border: 1px solid #93C5FD;
    color: #E8EDF2;
    box-shadow:
        0 8px 32px rgba(147, 197, 253, 0.2),
        inset 0 0 20px rgba(147, 197, 253, 0.1);
}

.modal .age-circle {
    background: linear-gradient(135deg, #1E40AF, #2563EB);
    border: 2px solid #93C5FD;
    box-shadow: 0 0 15px rgba(147, 197, 253, 0.3);
}

/* Frost effect for images */
img {
    position: relative;
}

img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(125deg,
        rgba(255, 255, 255, 0.2) 0%,
        transparent 40%,
        transparent 60%,
        rgba(255, 255, 255, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

img:hover::after {
    opacity: 1;
}