/* ============================
   GENERAL STYLES & RESET
   ============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Classic Casino Colors */
    --primary-color: #d4af37; /* Gold */
    --secondary-color: #1a1a2e; /* Dark Blue/Black */
    --accent-color: #c41e3a; /* Casino Red */
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-dark: #333333;
    --bg-dark: #f5f5f5; /* Light Gray Background */
    --bg-card: #ffffff; /* White Card */
    --bg-light: #f5f5f5;
    --bg-section: #e8e8e8; /* Section Gray */
    --border-color: #d4af37;
    --border-light: #e0e0e0; /* Light Border */
    --success-color: #28a745;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-dark);
    color: #333333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================
   HEADER
   ============================ */
.header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--bg-dark) 100%);
    border-bottom: 3px solid var(--primary-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.logo i {
    font-size: 36px;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(212, 175, 55, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* ============================
   HERO SECTION
   ============================ */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f1e 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(212, 175, 55, 0.05) 10px, rgba(212, 175, 55, 0.05) 20px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: var(--text-primary);
}

.hero-feature i {
    font-size: 24px;
    color: var(--primary-color);
}

/* ============================
   CASINO LISTING SECTION
   ============================ */
.casino-listing {
    padding: 10px 0;
    background: var(--bg-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
}

.casino-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.casino-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 25px;
    padding-left: 60px;
    display: grid;
    grid-template-columns: 200px 1fr 250px 200px;
    gap: 30px;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.casino-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff9f43 0%, #ee5a24 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.casino-item:hover {
    border-color: #ff9f43;
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.casino-item:hover::before {
    opacity: 1;
}

.casino-item[data-rank="1"] {
    border-color: #ff9f43;
    background: var(--bg-card);
}

.casino-item[data-rank="1"]::before {
    opacity: 1;
}

/* Rank Number */
.casino-rank {
    position: absolute;
    top: -5px;
    left: -5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    z-index: 10;
}

.rank-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff9f43 0%, #ee5a24 100%);
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(238, 90, 36, 0.5);
    font-family: 'Playfair Display', serif;
}

.rank-badge {
    background: var(--accent-color);
    color: var(--text-primary);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Casino Logo */
.casino-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-placeholder {
    width: 160px;
    height: 100px;
    background: #ffffff;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.logo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.casino-item:hover .logo-placeholder {
    transform: scale(1.03);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
    border-color: var(--primary-color);
}

.logo-placeholder i {
    font-size: 32px;
    color: var(--primary-color);
}

.logo-placeholder span {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    padding: 0 10px;
}

/* Casino Info */
.casino-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.casino-name {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 5px;
}

.casino-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.casino-rating i {
    color: #ffc107;
    font-size: 16px;
}

.rating-value {
    margin-left: 10px;
    font-weight: 600;
    color: #333333;
    font-size: 16px;
}

.casino-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666666;
}

.feature i {
    color: var(--success-color);
    font-size: 12px;
}

/* Casino Bonus */
.casino-bonus {
    background: #f0f8ff;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #4a90e2;
    text-align: center;
}

.bonus-tag {
    background: #4a90e2;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.bonus-amount {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.bonus-subtitle {
    font-size: 14px;
    color: #666666;
    margin-bottom: 10px;
}

.bonus-code {
    font-size: 13px;
    color: #666666;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

.bonus-code strong {
    color: #4a90e2;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Casino Action Buttons */
.casino-action {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: #28a745;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.5);
    background: #218838;
}

.btn-secondary {
    background: transparent;
    color: #4a90e2;
    border: 2px solid #4a90e2;
}

.btn-secondary:hover {
    background: #4a90e2;
    color: #ffffff;
}

/* ============================
   INFO SECTION
   ============================ */
.info-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.info-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.info-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================
   FOOTER
   ============================ */
.footer {
    background: var(--secondary-color);
    color: var(--text-secondary);
    padding: 60px 0 30px;
    border-top: 3px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.footer-logo i {
    font-size: 32px;
}

.footer-section p {
    line-height: 1.8;
    margin-top: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--bg-card);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-bottom p {
    margin: 10px 0;
    font-size: 14px;
}

.disclaimer {
    color: var(--accent-color);
    font-weight: 600;
}

/* ============================
   RESPONSIVE DESIGN
   ============================ */
@media (max-width: 1024px) {
    .casino-item {
        grid-template-columns: 140px 1fr;
        gap: 20px;
        padding-left: 50px;
    }
    
    .logo-placeholder {
        width: 120px;
        height: 80px;
    }
    
    .casino-bonus {
        grid-column: 1 / -1;
    }
    
    .casino-action {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: center;
    }
    
    .casino-action .btn {
        flex: 1;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .casino-item {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 50px 20px 30px 20px;
    }
    
    .casino-rank {
        top: 10px;
        left: 10px;
    }
    
    .rank-number {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .casino-logo {
        margin: 0 auto;
    }
    
    .logo-placeholder {
        width: 140px;
        height: 90px;
    }
    
    .casino-info {
        align-items: center;
    }
    
    .casino-features {
        justify-content: center;
    }
    
    .casino-action {
        flex-direction: column;
    }
    
    .casino-action .btn {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .casino-name {
        font-size: 20px;
    }
    
    .bonus-amount {
        font-size: 22px;
    }
}