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

body {
    font-family: 'Montserrat', sans-serif;
    background: url('casino-bg.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #ffffff;
    line-height: 1.6;
    position: relative;
}

/* Dark overlay for readability */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: -1;
}

/* Navigation Bar */
.navbar {
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 2px 15px rgba(255, 0, 0, 0.5);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #FF0000;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    background: url('logo.png') center/contain no-repeat;
    filter: drop-shadow(0 0 5px #FF0000);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: #FF0000;
}

/* Dropdown Menu */
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle .arrow {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a1a;
    min-width: 200px;
    border: 1px solid #FF0000;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.5);
    z-index: 999;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.dropdown-menu a:hover {
    background: #FF0000;
    color: #fff;
}

/* Search Bar */
.search-container {
    position: relative;
    min-width: 200px;
}

.search-input {
    width: 100%;
    padding: 0.6rem 1rem;
    border: 1px solid #FF0000;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s;
}

.search-input::placeholder {
    color: #ccc;
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border: 1px solid #FF0000;
    border-radius: 8px;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 5px;
    display: none;
    z-index: 1000;
}

.search-results.show {
    display: block;
}

.search-results a {
    display: block;
    padding: 0.75rem 1rem;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #333;
}

.search-results a:hover {
    background: #FF0000;
}

/* Hero Section */
.hero {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #FF0000;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 800px;
}

.cta-button {
    background-color: #FF0000;
    color: #ffffff;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

.cta-button:hover {
    background-color: #cc0000;
    transform: translateY(-3px);
}

/* Grid Sections */
.quick-links,
.casinos-grid {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.quick-links h2,
.casinos-grid h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: #FF0000;
    text-shadow: 0 0 8px rgba(0,0,0,0.5);
}

.links-grid,
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.link-card,
.casino-card {
    background: rgba(26, 26, 26, 0.95);
    padding: 2rem;
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s;
    border: 1px solid #FF0000;
    backdrop-filter: blur(5px);
}

.link-card:hover,
.casino-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.6);
    border-color: #ff3333;
}

.link-card h3,
.casino-card h3 {
    color: #FF0000;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.9);
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #FF0000;
    margin-top: 3rem;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-menu {
        flex-direction: column;
        background: #000;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem;
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .search-container {
        width: 100%;
        margin-top: 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }

    .nav-logo {
        margin-bottom: 0.5rem;
    }
}
