/* EngSlot.com - New Slots UK - Purple Gold Theme */
/* Custom CSS Framework - Mobile First Responsive 300-1500px */

:root {
    --purple-dark: #1a0a2e;
    --purple-mid: #2d1b4e;
    --purple-light: #4a2c6a;
    --purple-accent: #8b5cf6;
    --gold-primary: #fbbf24;
    --gold-light: #fcd34d;
    --gold-dark: #d97706;
    --white: #ffffff;
    --grey-100: #f3f4f6;
    --grey-200: #e5e7eb;
    --grey-300: #d1d5db;
    --grey-800: #1f2937;
    --success: #10b981;
    --danger: #ef4444;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Poppins', sans-serif;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(180deg, var(--purple-dark) 0%, var(--purple-mid) 100%);
    color: var(--grey-100);
    line-height: 1.7;
    min-height: 100vh;
}

/* Container System */
.wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .wrapper { padding: 0 24px; }
}

@media (min-width: 1200px) {
    .wrapper { padding: 0 40px; }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.3;
    color: var(--white);
}

h1 { font-size: clamp(1.75rem, 5vw, 3rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); margin-bottom: 0.875rem; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); margin-bottom: 0.75rem; }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); margin-bottom: 0.625rem; }

p { margin-bottom: 1rem; color: var(--grey-200); }

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

a:hover { color: var(--gold-light); }

/* Header Styles */
.site-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 10, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--purple-light);
}

.top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    min-height: 70px;
}

.brand-logo img {
    width: 140px;
    height: auto;
    display: block;
}

.nav-main {
    display: none;
}

.nav-main.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--purple-dark);
    padding: 20px;
    border-bottom: 2px solid var(--gold-primary);
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-list li a {
    display: block;
    padding: 14px 16px;
    color: var(--grey-100);
    font-weight: 500;
    border-bottom: 1px solid var(--purple-light);
    transition: var(--transition);
}

.nav-list li a:hover,
.nav-list li a.current {
    color: var(--gold-primary);
    background: var(--purple-light);
}

/* Burger Menu */
.burger-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.burger-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--gold-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.burger-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-toggle.active span:nth-child(2) {
    opacity: 0;
}

.burger-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (min-width: 900px) {
    .burger-toggle { display: none; }
    
    .nav-main {
        display: flex;
        position: static;
        background: none;
        padding: 0;
        border: none;
    }
    
    .nav-list {
        flex-direction: row;
        gap: 8px;
    }
    
    .nav-list li a {
        padding: 10px 16px;
        border: none;
        border-radius: var(--radius-sm);
    }
    
    .nav-list li a:hover,
    .nav-list li a.current {
        background: var(--purple-accent);
    }
}

/* Main Content */
.page-body {
    padding-top: 70px;
}

.segment {
    padding: 50px 0;
}

.segment-dark {
    background: rgba(0,0,0,0.2);
}

.segment-title {
    text-align: center;
    margin-bottom: 40px;
}

.segment-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--purple-accent), var(--gold-primary));
    margin: 16px auto 0;
    border-radius: 2px;
}

/* Hero Section */
.intro-hero {
    padding: 60px 0 50px;
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple-mid) 50%, var(--purple-light) 100%);
    position: relative;
    overflow: hidden;
}

.intro-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"><circle cx="50" cy="50" r="1" fill="%23fbbf24" opacity="0.1"/></svg>') repeat;
    background-size: 30px 30px;
    animation: sparkle 20s linear infinite;
}

@keyframes sparkle {
    0% { transform: translateY(0); }
    100% { transform: translateY(-30px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 30px;
    align-items: center;
}

.hero-text h1 {
    background: linear-gradient(90deg, var(--white), var(--gold-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--grey-200);
}

.hero-visual img {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
    .intro-hero { padding: 80px 0 70px; }
    .hero-content { grid-template-columns: 1fr 1fr; gap: 50px; }
}

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

.btn-gold {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    color: var(--purple-dark);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
    color: var(--purple-dark);
}

.btn-purple {
    background: linear-gradient(135deg, var(--purple-accent) 0%, var(--purple-light) 100%);
    color: var(--white);
}

.btn-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
}

.btn-outline:hover {
    background: var(--gold-primary);
    color: var(--purple-dark);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* Slot Cards */
.slots-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.slot-item {
    background: linear-gradient(145deg, var(--purple-mid) 0%, var(--purple-dark) 100%);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--purple-light);
    transition: var(--transition);
}

.slot-item:hover {
    transform: translateY(-4px);
    border-color: var(--gold-primary);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.2);
}

.slot-inner {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
    padding: 16px;
    align-items: center;
}

.slot-thumb {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 2px solid var(--purple-light);
}

.slot-details h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.slot-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.meta-tag {
    background: var(--purple-light);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--gold-light);
    font-weight: 500;
}

.slot-desc {
    font-size: 0.9rem;
    color: var(--grey-300);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slot-action {
    padding: 0 16px 16px;
}

@media (min-width: 600px) {
    .slot-inner {
        grid-template-columns: 120px 1fr auto;
    }
    .slot-action {
        padding: 16px;
    }
}

/* Casino Cards */
.casino-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.casino-item {
    background: var(--purple-mid);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--purple-light);
    transition: var(--transition);
    display: grid;
    gap: 16px;
}

.casino-item:hover {
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-md);
}

.casino-logo {
    width: 120px;
    height: 60px;
    object-fit: contain;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 8px;
}

.casino-info h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.casino-bonus {
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary));
    color: var(--purple-dark);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 10px;
}

@media (min-width: 500px) {
    .casino-item {
        grid-template-columns: 120px 1fr auto;
        align-items: center;
    }
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.9rem;
}

.data-table th,
.data-table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid var(--purple-light);
}

.data-table th {
    background: var(--purple-light);
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tr:hover {
    background: rgba(139, 92, 246, 0.1);
}

.data-table td {
    color: var(--grey-200);
}

/* Responsive Table */
@media (max-width: 600px) {
    .data-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .data-table {
        min-width: 500px;
    }
}

/* FAQ Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--purple-mid);
    border-radius: var(--radius-md);
    border: 1px solid var(--purple-light);
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.faq-trigger:hover {
    background: var(--purple-light);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--gold-primary);
    transition: var(--transition);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-content {
    max-height: 500px;
}

.faq-text {
    padding: 0 20px 20px;
    color: var(--grey-300);
}

/* Safety Checklist */
.safety-grid {
    display: grid;
    gap: 16px;
}

.safety-point {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: var(--purple-mid);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--success);
}

.safety-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
}

.safety-text {
    color: var(--grey-200);
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .safety-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Reviews */
.reviews-slider {
    display: grid;
    gap: 20px;
}

.review-card {
    background: var(--purple-mid);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--purple-light);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold-primary);
}

.review-author {
    font-weight: 600;
    color: var(--white);
}

.review-date {
    font-size: 0.8rem;
    color: var(--grey-300);
}

.review-stars {
    color: var(--gold-primary);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.review-text {
    color: var(--grey-200);
    font-style: italic;
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .reviews-slider {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .reviews-slider {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Author Box */
.author-card {
    background: linear-gradient(135deg, var(--purple-mid), var(--purple-light));
    border-radius: var(--radius-lg);
    padding: 30px;
    display: grid;
    gap: 20px;
    border: 1px solid var(--gold-primary);
}

.author-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold-primary);
}

.author-info h4 {
    margin-bottom: 4px;
}

.author-role {
    color: var(--gold-primary);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.author-bio {
    color: var(--grey-200);
    font-size: 0.95rem;
}

.last-update {
    font-size: 0.85rem;
    color: var(--grey-300);
    margin-top: 12px;
}

@media (min-width: 600px) {
    .author-card {
        grid-template-columns: auto 1fr;
        align-items: center;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 16px 0;
    background: rgba(0,0,0,0.2);
}

.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    font-size: 0.85rem;
}

.breadcrumbs-list li::after {
    content: '›';
    margin-left: 8px;
    color: var(--grey-300);
}

.breadcrumbs-list li:last-child::after {
    display: none;
}

.breadcrumbs-list a {
    color: var(--grey-300);
}

.breadcrumbs-list a:hover {
    color: var(--gold-primary);
}

/* Footer */
.site-bottom {
    background: var(--purple-dark);
    padding: 50px 0 30px;
    border-top: 1px solid var(--purple-light);
}

.footer-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--grey-300);
    margin-top: 16px;
}

.footer-links h5 {
    color: var(--gold-primary);
    margin-bottom: 16px;
    font-size: 1rem;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--grey-300);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--gold-primary);
}

@media (min-width: 600px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .footer-grid {
        grid-template-columns: 2fr repeat(3, 1fr);
    }
}

.footer-end {
    padding-top: 30px;
    border-top: 1px solid var(--purple-light);
    text-align: center;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.partner-logos img {
    height: 40px;
    width: auto;
    opacity: 0.8;
    filter: grayscale(30%);
}

.disclaimer-text {
    font-size: 0.8rem;
    color: var(--grey-300);
    max-width: 800px;
    margin: 0 auto 16px;
}

.copyright-text {
    font-size: 0.8rem;
    color: var(--grey-300);
}

/* 404 Page */
.error-zone {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.error-code {
    font-size: clamp(5rem, 20vw, 12rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--purple-accent), var(--gold-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
}

.error-msg {
    font-size: 1.25rem;
    color: var(--grey-200);
    margin-bottom: 30px;
}

/* Content Layout */
.content-area {
    display: grid;
    gap: 40px;
}

.main-content {
    min-width: 0;
}

.side-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.side-box {
    background: var(--purple-mid);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--purple-light);
}

.side-box h4 {
    margin-bottom: 16px;
    color: var(--gold-primary);
}

@media (min-width: 1000px) {
    .content-area {
        grid-template-columns: 1fr 320px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-gold { color: var(--gold-primary); }
.text-small { font-size: 0.85rem; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

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

.animate-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Print Styles */
@media print {
    .site-top, .site-bottom, .btn, .burger-toggle { display: none; }
    body { background: white; color: black; }
    .page-body { padding-top: 0; }
}
