/* CasinoLab Review - Light Theme */

/* CSS Variables */
:root {
    --bg-gradient-start: #E8F4FC;
    --bg-gradient-end: #F0F4FF;
    --bg-light: #F5F8FF;
    --card-bg: #FFFFFF;
    --card-border: rgba(59, 130, 246, 0.15);
    --card-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
    --primary-gold: #FFB800;
    --primary-gold-hover: #FFC107;
    --primary-blue: #3B82F6;
    --primary-blue-dark: #2563EB;
    --heading-color: #1E3A5F;
    --text-color: #4A5568;
    --text-light: #64748B;
    --accent-purple: #8B5CF6;
    --accent-cyan: #06B6D4;
    --success-green: #22C55E;
    --warning-orange: #F59E0B;
    --border-radius: 16px;
    --border-radius-sm: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
    min-height: 100vh;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 1.875rem;
    margin-top: 2.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--card-border);
}

h3 {
    font-size: 1.375rem;
    margin-top: 1.75rem;
    color: var(--primary-blue-dark);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

strong {
    color: var(--heading-color);
    font-weight: 600;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    background: var(--card-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--heading-color);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: var(--transition);
}

.nav a:hover {
    color: var(--primary-blue);
    text-decoration: none;
}

.nav a:hover::after {
    width: 100%;
}

.header-cta {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-hover) 100%);
    color: var(--heading-color);
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 184, 0, 0.4);
    text-decoration: none;
    color: var(--heading-color);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
}

/* Hero Section */
.hero {
    background-image: url('img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.hero-inner {
    display: block;
    max-width: 700px;
}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--heading-color) 0%, var(--primary-blue-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 1.125rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.hero-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Author Box */
.author-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--card-border);
}

.author-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-blue);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.author-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-name {
    font-size: 1rem;
    color: var(--heading-color);
}

.author-title {
    font-size: 0.875rem;
    color: var(--text-color);
}

.author-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.25rem;
}

.author-links a {
    font-size: 0.8rem;
    color: var(--primary-blue);
    text-decoration: none;
}

.author-links a:hover {
    text-decoration: underline;
}

/* Cards */
.card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--card-border);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15);
}

/* Main Content */
main {
    padding: 3rem 0;
}

.content-wrapper {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--card-border);
}

/* Section */
section {
    margin-bottom: 3rem;
}

section:last-child {
    margin-bottom: 0;
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--card-border);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

th, td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--card-border);
}

th {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-gradient-start) 100%);
    color: var(--heading-color);
    font-weight: 600;
    white-space: nowrap;
}

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

tr:hover td {
    background: var(--bg-light);
}

/* Lists */
ul, ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

ul li::marker {
    color: var(--primary-blue);
}

ol li::marker {
    color: var(--primary-gold);
    font-weight: 600;
}

/* Image Gallery */
.image-section {
    margin: 2rem 0;
}

.image-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--card-border);
    transition: var(--transition);
}

.image-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15);
}

.image-card img {
    width: 100%;
    height: auto;
    display: block;
}

.image-card-caption {
    padding: 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Two Column Image Layout */
.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Full Width Image */
.image-full {
    margin: 2rem 0;
}

.image-full img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

/* Content with Image Side by Side */
.content-with-image {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: start;
    margin: 1.5rem 0;
}

.content-with-image.image-left {
    grid-template-columns: 300px 1fr;
}

.content-with-image .content-text {
    flex: 1;
}

.content-with-image .content-text h3 {
    margin-top: 1rem;
}

.content-with-image .content-text h3:first-child {
    margin-top: 0;
}

.content-with-image .content-image {
    position: sticky;
    top: 100px;
}

.content-with-image .content-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.content-with-image .content-image img:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15);
}

/* Pros and Cons */
.pros-cons-table {
    margin: 2rem 0;
}

.pros-cons-table th:first-child {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
}

.pros-cons-table th:last-child {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

.pros-cons-table td:first-child {
    border-right: 1px solid var(--card-border);
}

/* FAQ Section */
.faq-section {
    margin-top: 3rem;
}

.faq-item {
    background: var(--card-bg);
    border-radius: var(--border-radius-sm);
    margin-bottom: 1rem;
    border: 1px solid var(--card-border);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-blue);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--heading-color);
    background: var(--bg-light);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.25rem 1.5rem;
    max-height: 500px;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-left: 4px solid var(--accent-purple);
    padding: 1.5rem;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    margin: 1.5rem 0;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    margin: 1.5rem 0;
}

/* Warning Box */
.warning-box {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(245, 158, 11, 0.1) 100%);
    border-left: 4px solid var(--warning-orange);
    padding: 1.5rem;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    margin: 1.5rem 0;
}

/* Verdict Section */
.verdict-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin: 2rem 0;
    text-align: center;
    border: 1px solid var(--card-border);
}

.verdict-section h2 {
    border-bottom: none;
    margin-top: 0;
}

/* Footer */
.footer {
    background: var(--heading-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--primary-gold);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-disclaimer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 1rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-inner {
        max-width: 100%;
    }

    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .nav {
        display: none;
    }

    .header-cta .btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    .content-wrapper {
        padding: 1.5rem;
    }

    .content-with-image,
    .content-with-image.image-left {
        grid-template-columns: 1fr;
    }

    .content-with-image .content-image {
        position: static;
        max-width: 300px;
        margin: 0 auto 1.5rem;
    }

    .content-with-image.image-left .content-image {
        order: -1;
    }

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

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    table {
        font-size: 0.875rem;
    }

    th, td {
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .content-wrapper {
        padding: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

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

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}
