/* ========================================
   CrownSpinScout.co.uk - Main Stylesheet
   SkyVegas-Inspired Design for UK Casino Reviews
   ======================================== */

/* CSS Variables for SkyVegas-inspired theme */
:root {
    --primary-red: #dc2626;
    --primary-dark: #1a0b2e;
    --secondary-dark: #2d1b4e;
    --accent-gold: #fbbf24;
    --accent-purple: #7c3aed;
    --light-bg: #f8fafc;
    --dark-bg: #0f172a;
    --text-light: #ffffff;
    --text-dark: #1e293b;
    --border-color: #e2e8f0;
    --success-green: #10b981;
    --warning-orange: #f59e0b;

    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Arial Black', 'Arial Bold', sans-serif;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
}

/* Container & Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

/* Header & Navigation */
.main-header {
    background: linear-gradient(
        135deg,
        var(--primary-dark) 0%,
        var(--secondary-dark) 100%
    );
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent-gold);
}

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

.main-nav a {
    color: var(--text-light);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-gold);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(
        135deg,
        var(--primary-red) 0%,
        var(--primary-dark) 100%
    );
    color: var(--text-light);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

.hero-image img {
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-dark);
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Cards */
.card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-header {
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Casino Info Section */
.casino-info {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    margin: 2rem 0;
}

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

.info-item {
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 8px;
    border-left: 4px solid var(--primary-red);
}

.info-item strong {
    display: block;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* Disclaimer Banner */
.disclaimer-banner {
    background: linear-gradient(
        135deg,
        var(--warning-orange) 0%,
        var(--primary-red) 100%
    );
    color: var(--text-light);
    padding: 1.5rem;
    text-align: center;
    border-radius: 8px;
    margin: 2rem 0;
    font-weight: 600;
}

/* Age Verification Modal */
.age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.age-verification-modal {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.age-verification-modal h2 {
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.age-verification-modal p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.age-verification-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-btn {
    padding: 14px 40px;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.age-btn-yes {
    background: var(--success-green);
    color: white;
}

.age-btn-yes:hover {
    background: #059669;
}

.age-btn-no {
    background: var(--primary-red);
    color: white;
}

.age-btn-no:hover {
    background: #b91c1c;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.active {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: var(--success-green);
    color: white;
}

.cookie-decline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

/* Footer */
.main-footer {
    background: linear-gradient(
        135deg,
        var(--primary-dark) 0%,
        var(--secondary-dark) 100%
    );
    color: var(--text-light);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent-gold);
    padding-left: 5px;
}

.contact-info a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    text-decoration: underline;
}

.contact-info a:hover {
    color: var(--accent-gold);
}

/* Responsible Gaming Section */
.responsible-gaming {
    background: var(--dark-bg);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
}

.responsible-gaming h3 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.rg-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.rg-logo {
    background: transparent;
    padding: 0.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.rg-logo:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.rg-logo img {
    width: 150px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    display: block;
}

.age-restriction {
    display: inline-block;
    background: var(--primary-red);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 900;
    margin-top: 1rem;
    border: 3px solid var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.game-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.game-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(
        135deg,
        var(--accent-purple),
        var(--primary-red)
    );
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.game-info {
    padding: 1.5rem;
}

.game-title {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 1rem;
}

/* Bonus Cards */
.bonus-card {
    background: linear-gradient(
        135deg,
        var(--primary-red),
        var(--accent-purple)
    );
    color: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.bonus-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.bonus-amount {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.bonus-terms {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-top: 1rem;
}

/* Review Summary */
.review-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.rating-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.rating-score {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--success-green);
    display: block;
    margin-bottom: 0.5rem;
}

.rating-label {
    color: var(--text-dark);
    font-weight: 600;
}

/* Article Cards */
.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    box-shadow: var(--shadow-xl);
}

.article-content {
    padding: 1.5rem;
    flex: 1;
}

.article-meta {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.article-title {
    color: var(--primary-dark);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-red);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.read-more:hover {
    gap: 1rem;
}

/* Pros & Cons Lists */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.pros,
.cons {
    padding: 2rem;
    border-radius: 12px;
}

.pros {
    background: #ecfdf5;
    border: 2px solid var(--success-green);
}

.cons {
    background: #fef2f2;
    border: 2px solid var(--primary-red);
}

.pros h3 {
    color: var(--success-green);
}

.cons h3 {
    color: var(--primary-red);
}

.pros ul,
.cons ul {
    list-style: none;
    margin-top: 1rem;
}

.pros li,
.cons li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: 900;
    font-size: 1.25rem;
}

.cons li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: 900;
    font-size: 1.25rem;
}

/* Table Styles */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.info-table th {
    background: var(--primary-dark);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 700;
}

.info-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.info-table tr:last-child td {
    border-bottom: none;
}

.info-table tr:hover {
    background: var(--light-bg);
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.875rem;
}

.breadcrumbs a {
    color: var(--primary-red);
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

.text-gold {
    color: var(--accent-gold);
}

.bg-dark {
    background: var(--primary-dark);
    color: white;
}

.mt-1 {
    margin-top: 1rem;
}
.mt-2 {
    margin-top: 2rem;
}
.mt-3 {
    margin-top: 3rem;
}
.mb-1 {
    margin-bottom: 1rem;
}
.mb-2 {
    margin-bottom: 2rem;
}
.mb-3 {
    margin-bottom: 3rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .pros-cons-grid {
        grid-template-columns: 1fr;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--primary-dark);
        padding: 2rem;
        transition: left 0.3s ease;
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-section {
        padding: 40px 0;
    }

    .section {
        padding: 40px 0;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .age-verification-modal {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .age-verification-buttons {
        flex-direction: column;
    }

    .age-btn {
        width: 100%;
    }

    .rg-logos {
        flex-direction: column;
    }

    .info-table {
        font-size: 0.875rem;
    }

    .info-table th,
    .info-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Casino Listing Card */
.casino-listing-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: var(--shadow-lg);
    margin: 2rem 0;
    flex-wrap: wrap;
}

.casino-listing-logo {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.casino-listing-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.casino-listing-info {
    flex: 1;
    min-width: 250px;
}

.casino-listing-name {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.casino-listing-bonus {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--success-green);
    margin-bottom: 0.5rem;
}

.casino-listing-license {
    font-size: 0.875rem;
    color: #7c3aed;
    opacity: 0.8;
}

.casino-listing-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.casino-stars {
    display: flex;
    gap: 0.25rem;
}

.casino-stars .star {
    color: var(--accent-gold);
    font-size: 1.5rem;
    line-height: 1;
}

.casino-votes {
    font-size: 0.875rem;
    color: #7c3aed;
    opacity: 0.8;
}

.casino-claim-btn {
    background: white;
    color: var(--accent-purple);
    border: 2px solid var(--accent-purple);
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.casino-claim-btn:hover {
    background: var(--accent-purple);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .casino-listing-card {
        flex-direction: column;
        text-align: center;
    }

    .casino-listing-info {
        text-align: center;
    }

    .casino-listing-rating {
        width: 100%;
    }

    .casino-claim-btn {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    .main-header,
    .cookie-consent,
    .age-verification-overlay,
    .btn,
    .footer {
        display: none;
    }
}
