:root {
    --bg-dark: #0f0f11;
    --bg-card: #1a1a1e;
    --primary-red: #d91c29;
    --primary-red-hover: #fa2838;
    --text-light: #f5f5f5;
    --text-muted: #a0a0a5;
    --gold: #ffd700;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

body {
    overflow-x: hidden;
    background-image: radial-gradient(circle at 50% 0%, #2a0b0e 0%, var(--bg-dark) 60%);
}

/* Navbar */
.navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(15, 15, 17, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo .suit {
    color: var(--primary-red);
}

.auth-section {
    justify-self: end;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #5865F2;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-login:hover {
    background: #4752C4;
    transform: translateY(-2px);
}

.logo .highlight {
    color: var(--primary-red);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-red);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.03;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.casino-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(217, 28, 41, 0.1);
    color: var(--primary-red);
    border: 1px solid var(--primary-red);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.highlight-text {
    background: linear-gradient(45deg, var(--primary-red), #ff5e6c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-red);
    color: #fff;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(217, 28, 41, 0.3);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: var(--primary-red-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(217, 28, 41, 0.4);
}

/* Services */
.services {
    padding: 100px 5%;
    background-color: #0b0b0c;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* Casino Card Design */
.service-card {
    background: var(--bg-card);
    width: 320px;
    height: 480px;
    border-radius: 15px;
    padding: 40px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    cursor: crosshair;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 15px;
    padding: 2px;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.service-card:hover {
    transform: translateY(-15px) rotate(2deg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.8);
}

.service-card:nth-child(2):hover {
    transform: translateY(-15px) rotate(-2deg);
}

.card-corner {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
}

.top-left {
    top: 15px;
    left: 15px;
}

.bottom-right {
    bottom: 15px;
    right: 15px;
    transform: rotate(180deg);
}

.red-card .card-corner {
    color: var(--primary-red);
}

.black-card .card-corner {
    color: #777; /* Dark grey for "black" suits so it's visible on dark bg */
}

.icon-container {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.red-card:hover .icon-container {
    color: var(--primary-red);
    transform: scale(1.1);
}

.black-card:hover .icon-container {
    color: #fff;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Footer */
.footer {
    padding: 80px 5% 30px;
    text-align: center;
    background: radial-gradient(circle at 50% 100%, #1a080a 0%, var(--bg-dark) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.footer-content p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.03);
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.social-btn.discord:hover {
    border-color: #5865F2;
    color: #5865F2;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .cards-container {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .navbar {
        grid-template-columns: 1fr auto;
        padding: 1rem 5%;
    }
    .mobile-menu-btn {
        display: block !important;
    }
    .nav-links {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        height: 100vh;
        background: rgba(15, 15, 17, 0.98);
        backdrop-filter: blur(15px);
        padding-top: 80px;
        border-right: 1px solid rgba(255, 255, 255, 0.05);
        transition: left 0.3s ease;
        z-index: -1;
        gap: 0;
    }
    .nav-links.active {
        left: 0;
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links a {
        display: block;
        padding: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 1.1rem;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }
    .hero-logo {
        max-width: 180px;
    }
    .service-card {
        width: 100%;
        max-width: 350px;
    }
    .footer-content h2 {
        font-size: 1.8rem;
    }
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    .social-btn {
        width: 80%;
        justify-content: center;
    }
}
