/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors - British Style */
    --primary-blue: #1E40AF;
    --primary-red: #DC2626;
    --primary-green: #059669;
    --primary-gold: #D97706;
    
    /* Neutral Colors */
    --dark-gray: #111827;
    --medium-gray: #374151;
    --light-gray: #9CA3AF;
    --white: #F9FAFB;
    
    /* Gradients */
    --green-gradient: linear-gradient(135deg, #047857 0%, #059669 100%);
    --blue-gradient: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 100%);
    --gold-gradient: linear-gradient(135deg, #B45309 0%, #D97706 100%);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --container-padding: 1rem;
    --section-spacing: 4rem;
    --card-spacing: 2rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--white);
    background-color: var(--dark-gray);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-gold);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    gap: 0.5rem;
}

.btn i {
    font-size: 1rem;
    flex-shrink: 0;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--green-gradient);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    animation: pulse-glow 2s infinite;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    min-height: 56px;
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    background: var(--dark-gray);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow-lg);
}

header .container {
    max-width: unset;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.header-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Main Content */
.main {
    margin-top: 90px;
}

/* Hero Section */
.hero {
    padding: var(--section-spacing) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></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(--white);
    margin-bottom: 1.5rem;
}

.hero-subtitle,
.hero-description {
    color: rgba(249, 250, 251, 0.9);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.hero-cta {
    margin-top: 2rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
}

/* Sections */
section {
    padding: var(--section-spacing) 0;
}

section:nth-child(even) {
    background: var(--medium-gray);
}

/* Games Table */
.games-table-wrapper {
    margin: 3rem 0;
}

.games-table {
    background: rgba(30, 64, 175, 0.05);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin: 2rem 0;
}

.table-header {
    background: var(--primary-blue);
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr;
    padding: 1rem;
    font-weight: 700;
    color: var(--white);
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr;
    padding: 1rem;
    border-bottom: 1px solid rgba(156, 163, 175, 0.2);
    transition: background-color 0.3s ease;
}

.table-row:hover {
    background: rgba(156, 163, 175, 0.1);
}

.table-row:last-child {
    border-bottom: none;
}

.col {
    display: flex;
    align-items: center;
}

.col a {
    color: var(--primary-green);
    font-weight: 600;
}

/* Trust Section */
.trust-list {
    list-style: none;
    margin: 2rem 0;
}

.trust-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trust-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-size: 1rem;
}

.testimonial {
    background: var(--primary-blue);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
}

.testimonial blockquote {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--white);
}

/* Game Cards */
.game-details {
    background: var(--medium-gray);
}

.game-card {
    background: var(--dark-gray);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-green);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.game-content {
    flex: 1;
}

.game-content h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.game-cta {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.game-image {
    flex-shrink: 0;
}

.game-image img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--primary-blue);
}

/* Strategy Section */
.strategy-list {
    list-style: none;
    margin: 2rem 0;
}

.strategy-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.strategy-list li i {
    color: var(--primary-green);
    font-size: 1rem;
    flex-shrink: 0;
}

/* Casino Links */
.casino-links {
    list-style: none;
    margin: 2rem 0;
}

.casino-links li {
    padding: 0.5rem 0;
}

.casino-links a {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 1.1rem;
}

/* CTA Sections */
.cta-section {
    text-align: center;
    margin: 3rem 0;
}

/* Features Table */
.features-table {
    background: var(--medium-gray);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin: 2rem 0;
}

.feature-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    padding: 1rem;
    border-bottom: 1px solid rgba(156, 163, 175, 0.2);
    transition: background-color 0.3s ease;
}

.feature-row:hover {
    background: rgba(156, 163, 175, 0.1);
}

.feature-row:last-child {
    border-bottom: none;
}

.feature-label {
    font-weight: 700;
    color: var(--primary-green);
    font-size: 1.1rem;
}

.feature-value {
    color: var(--white);
}

/* Disclaimer Box */
.disclaimer-box {
    background: var(--primary-red);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: center;
    border-left: 4px solid var(--white);
}

.disclaimer-box p {
    color: var(--white);
    font-weight: 600;
    margin: 0;
}

/* Interface Showcase */
.interface-showcase {
    text-align: center;
    margin: 2rem 0;
}

.interface-showcase img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--primary-blue);
}

/* Resource Links */
.resource-links {
    list-style: none;
    margin: 2rem 0;
}

.resource-links li {
    padding: 0.5rem 0;
}

.resource-links a {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Jackpot List */
.jackpot-list {
    list-style: none;
    margin: 2rem 0;
}

.jackpot-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.jackpot-list li::before {
    content: '\f135';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    font-size: 1rem;
    color: var(--primary-blue);
}

/* Comparison Table */
.comparison-table {
    background: var(--medium-gray);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin: 2rem 0;
}

.comparison-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    padding: 1rem;
    border-bottom: 1px solid rgba(156, 163, 175, 0.2);
    transition: background-color 0.3s ease;
}

.comparison-row:hover {
    background: rgba(156, 163, 175, 0.1);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row.highlight {
    background: rgba(30, 64, 175, 0.2);
    border-left: 4px solid var(--primary-blue);
}

.game-name {
    font-weight: 700;
    color: var(--primary-green);
    font-size: 1.1rem;
}

.game-name a {
    color: var(--primary-green);
}

.game-description {
    color: var(--white);
}

/* Target List */
.target-list {
    list-style: none;
    margin: 2rem 0;
}

.target-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.target-list li::before {
    content: '\f140';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    font-size: 1rem;
    color: var(--primary-green);
}

/* Footer */
.footer {
    background: var(--dark-gray);
    padding: 3rem 0 1rem;
    padding-bottom: 6rem;
    border-top: 1px solid var(--medium-gray);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--light-gray);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    border-top: 1px solid var(--medium-gray);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-disclaimer {
    flex: 1;
    min-width: 300px;
}

.footer-disclaimer p {
    font-size: 0.9rem;
    color: var(--light-gray);
    margin-bottom: 0.5rem;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-gray);
    padding: 1rem;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
}

/* Animations */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: var(--shadow-lg);
    }
    50% {
        box-shadow: 0 0 20px rgba(5, 150, 105, 0.5);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr 1.5fr 1fr 1fr;
    }
    
    .feature-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .feature-label {
        font-size: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid rgba(156, 163, 175, 0.3);
    }
    
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .game-name {
        font-size: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid rgba(156, 163, 175, 0.3);
    }
}

@media (max-width: 1440px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        display: none;
    }
    
    .nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-blue);
        padding: 1rem;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 2rem;
        --card-spacing: 1rem;
    }

    .btn {
        font-size: 12px !important;
    }

    .header-content {
        gap: 10px;
    }

    header .btn i {
        display: none !important;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .table-header {
        display: none;
    }
    
    .table-row {
        border: 1px solid var(--medium-gray);
        border-radius: 8px;
        margin-bottom: 1rem;
        padding: 1rem;
    }
    
    .col {
        padding: 0.25rem 0;
    }
    
    .col:first-child::before {
        content: 'Game: ';
        font-weight: 700;
        color: var(--primary-green);
    }
    
    .col:nth-child(2)::before {
        content: 'Why I Play It: ';
        font-weight: 700;
        color: var(--primary-green);
    }
    
    .col:nth-child(3)::before {
        content: 'RTP: ';
        font-weight: 700;
        color: var(--primary-green);
    }
    
    .col:nth-child(4)::before {
        content: 'Max Win: ';
        font-weight: 700;
        color: var(--primary-green);
    }
    
    .game-cta {
        flex-direction: column;
    }
    
    .game-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .game-image img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .mobile-sticky-cta {
        display: block;
    }
    
    .btn {
        min-height: 44px;
    }
    
    .feature-row {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
        border: 1px solid var(--medium-gray);
        border-radius: 8px;
    }
    
    .feature-label::before {
        content: 'Feature: ';
        font-weight: 700;
        color: var(--primary-green);
    }
    
    .comparison-row {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
        border: 1px solid var(--medium-gray);
        border-radius: 8px;
    }
    
    .game-name::before {
        content: 'Game: ';
        font-weight: 700;
        color: var(--primary-green);
    }
}

@media (max-width: 505px) {
    .header-content {
        flex-wrap: wrap;
        gap: 0;
    }

    .header-buttons {
        width: 100%;
        order: 3;
        margin-top: 10px;
        justify-content: center;
    }


    .hero {
        padding-top: 5rem;
    }
}

@media (max-width: 375px) {
    .header-buttons .btn-secondary {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .game-card {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .disclaimer-box {
        padding: 1rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
a:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Loading states */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .mobile-sticky-cta,
    .btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .main {
        margin-top: 0;
    }
} 