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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f0f2f5 0%, #e4e7eb 100%);
    color: #1a1a1a;
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

/* 📏 Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 🔗 Links */
a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

a:hover {
    color: #0056b3;
    transform: scale(1.05);
}

/* 🔝 Header */
header {
    background: linear-gradient(90deg, #1a1a3d 0%, #2a2a5e 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header p, header span, header div {
    color: white;
}

.logo {
    max-width: 100px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: #ffffff;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 🧱 Content Blocks */
.block {
    background: #ffffff;
    padding: 40px;
    margin: 30px 0;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.block:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* 🎰 Casino Grid */
.casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

/* 🃏 Casino Card */
.casino-card-dark {
    background: linear-gradient(135deg, #2c3e50 0%, #4a69bd 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.casino-card-dark:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.ranking-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(45deg, #ffd700, #ffec99);
    color: #1a1a1a;
    font-weight: 700;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.casino-logo-wrapper {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.casino-logo {
    max-width: 120px;
    transition: transform 0.3s ease;
}

.casino-logo:hover {
    transform: scale(1.1);
}

.casino-card-dark h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 15px 0;
}

.stars {
    color: #ffd700;
    font-size: 20px;
    margin-bottom: 15px;
}

.bonus-text {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.visit-btn {
    display: inline-block;
    background: linear-gradient(45deg, #ffd700, #ffec99);
    color: #1a1a1a;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.visit-btn:hover {
    background: linear-gradient(45deg, #ffec99, #ffd700);
    transform: scale(1.05);
}

/* 🔤 Typography */
h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #007bff;
    border-radius: 2px;
}

h3 {
    font-size: 26px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 20px 0 10px;
}

p {
    margin-bottom: 20px;
    color: #4a4a4a;
}

/* 📊 Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

th, td {
    padding: 15px 20px;
    text-align: left;
}

table, th, td {
    border: 1px solid #e0e0e0;
}

th {
    background: linear-gradient(90deg, #2c3e50, #4a69bd);
    color: white;
    font-weight: 600;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #e6f0fa;
}

/* 🦶 Footer */
footer {
    background: linear-gradient(90deg, #1a1a3d 0%, #2a2a5e 100%);
    color: white;
    padding: 40px 0;
    margin-top: 40px;
}

footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

footer ul {
    list-style: none;
    margin: 20px 0;
}

footer ul li {
    margin: 10px 0;
}

footer ul li a {
    color: #ffffff;
    opacity: 0.8;
    font-size: 14px;
}

footer ul li a:hover {
    opacity: 1;
}

.social-icons a {
    margin: 0 10px;
    font-size: 20px;
    color: #ffffff;
    opacity: 0.7;
}

.social-icons a:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* 📱 Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 15px;
    }

    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        margin-top: 10px;
    }

    nav ul li {
        margin: 10px 0;
    }

    .casino-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .casino-card-dark {
        padding: 20px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    footer .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .block {
        padding: 20px;
    }

    .casino-logo-wrapper {
        height: 80px;
    }

    .casino-logo {
        max-width: 100px;
    }

    .visit-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');