/* ===================================
   TallyBrit - Vibrant Contrast Theme
   Bright, Dynamic Casino Design
   =================================== */

/* CSS Variables - Vibrant Color Palette */
:root {
    --bg-primary: #0f0c29;
    --bg-secondary: #1a1640;
    --bg-gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --bg-gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --bg-gradient-hero: linear-gradient(
        135deg,
        #667eea 0%,
        #764ba2 50%,
        #f093fb 100%
    );

    --accent-red: #ff6b6b;
    --accent-cyan: #4ecdc4;
    --accent-yellow: #ffe66d;
    --accent-blue: #a8dadc;
    --accent-purple: #9d4edd;
    --accent-orange: #ff9f1c;

    --text-primary: #ffffff;
    --text-secondary: #e0e7ff;
    --text-muted: #a5b4fc;

    --card-bg: rgba(26, 22, 64, 0.8);
    --card-border: rgba(102, 126, 234, 0.3);
    --card-hover-border: rgba(255, 107, 107, 0.6);

    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(102, 126, 234, 0.4);
    --shadow-lg: 0 15px 50px rgba(255, 107, 107, 0.5);
    --shadow-neon: 0 0 20px rgba(78, 205, 196, 0.6),
        0 0 40px rgba(78, 205, 196, 0.3);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-primary);
    background-image: radial-gradient(
            circle at 20% 50%,
            rgba(102, 126, 234, 0.15) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(255, 107, 107, 0.15) 0%,
            transparent 50%
        );
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--card-border);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(
        135deg,
        var(--accent-cyan),
        var(--accent-yellow)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(78, 205, 196, 0.5));
}

.nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav a {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bg-gradient-3);
    transition: width 0.3s ease;
}

.nav a:hover {
    color: var(--accent-cyan);
}

.nav a:hover::after {
    width: 100%;
}

/* Buttons */
.btn-primary {
    padding: 14px 32px;
    background: var(--bg-gradient-2);
    color: var(--text-primary);
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background: var(--bg-gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 30% 50%,
        rgba(255, 230, 109, 0.1) 0%,
        transparent 50%
    );
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 58px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-text h1 span {
    display: block;
    background: linear-gradient(
        135deg,
        var(--accent-yellow),
        var(--accent-orange)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 3s ease-in-out infinite;
}

.hero-image img {
    max-width: 100%;
    filter: drop-shadow(0 10px 40px rgba(255, 230, 109, 0.4));
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-title span {
    background: linear-gradient(
        135deg,
        var(--accent-cyan),
        var(--accent-purple)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Casino Cards Grid */
.casinos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.casino-card {
    background: #2c3548;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.casino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(78, 205, 196, 0.2);
    border-color: rgba(78, 205, 196, 0.3);
}

/* Casino Badges */
.casino-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.casino-badge.best-choice {
    background: #2ecc71;
    color: #ffffff;
}

.casino-badge.most-popular {
    background: linear-gradient(135deg, #ff6b6b, #ff9f1c);
    color: #ffffff;
}

.casino-badge.exclusive-offer {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
}

.casino-age-badge {
    position: absolute;
    top: 15px;
    right: 20px;
    background: #e74c3c;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
}

/* Casino Header - Horizontal Layout */
.casino-header {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.casino-logo {
    width: 100px;
    height: 70px;
    background: #1a1f2e;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.casino-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Casino Info - Center Section */
.casino-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.casino-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.casino-desc {
    font-size: 13px;
    color: #a0aec0;
    margin: 0;
    line-height: 1.4;
}

.casino-details {
    font-size: 12px;
    color: #718096;
    margin: 0;
    line-height: 1.5;
}

/* Casino Rating Box - Right Section */
.casino-rating-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 4px;
    min-width: 140px;
}

.stars {
    color: #ffc107;
    font-size: 16px;
    letter-spacing: 1px;
}

.rating-value {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: #ffffff;
    padding: 4px 14px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    margin-top: 2px;
}

.rating-count {
    font-size: 13px;
    color: #718096;
    font-weight: 500;
}

.min-deposit {
    font-size: 13px;
    color: #a0aec0;
    font-weight: 600;
    margin-top: 8px;
}

/* Casino Footer */
.casino-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.secure-badge {
    font-size: 13px;
    color: #4ecdc4;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-bonus {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: #ffffff;
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-bonus:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
    background: linear-gradient(135deg, #27ae60, #229954);
}

.btn-bonus::after {
    content: '↗';
    font-size: 16px;
}

.age-badge-bottom {
    background: #e74c3c;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

/* Games Section */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.game-card {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 16px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-neon);
}

.game-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.game-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.game-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-purple);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(102, 126, 234, 0.1);
}

.faq-icon {
    font-size: 24px;
    color: var(--accent-cyan);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 30px 25px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 16px;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 2px solid var(--card-border);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-column h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-yellow);
    margin-bottom: 20px;
}

.footer-column p,
.footer-column a {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-cyan);
    padding-left: 5px;
}

/* Payment Icons */
.payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    padding: 40px 0;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.payment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.payment-icon:hover {
    transform: scale(1.1);
}

.payment-icon img {
    height: 40px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.payment-icon:hover img {
    opacity: 1;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
}

.disclaimer {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.copyright {
    font-size: 14px;
    color: var(--text-muted);
}

.copyright a {
    color: var(--accent-cyan);
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: var(--accent-yellow);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .casinos-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 968px) {
    .casino-header {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .casino-rating-box {
        align-items: flex-start;
        text-align: left;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .min-deposit {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .nav {
        display: none;
    }

    .section-title {
        font-size: 36px;
    }

    .casino-header {
        grid-template-columns: 1fr;
    }

    .casino-logo {
        margin: 0 auto;
    }

    .casino-info {
        text-align: center;
    }

    .casino-rating-box {
        align-items: center;
        text-align: center;
        justify-content: center;
    }

    .casino-footer {
        flex-direction: column;
        gap: 12px;
    }

    .btn-bonus {
        width: 100%;
        justify-content: center;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .casino-badge {
        left: 50%;
        transform: translateX(-50%);
    }

    .casino-age-badge {
        right: 10px;
        top: 10px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}
