/*
Theme Name: Bassetlaw Food Bank
Theme URI: https://bassetlawfoodbank.org
Author: Bassetlaw Food Bank
Author URI: https://bassetlawfoodbank.org
Description: Custom WordPress theme for Bassetlaw Food Bank charity website with integrated raffle system, responsive design, and complete charity operations management.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bassetlaw-food-bank
Tags: charity, food-bank, raffle, responsive, custom-template
*/

:root {
    --green-900: #1a3d28;
    --green-800: #22502f;
    --green-700: #2D5F3F;
    --green-600: #3a7a50;
    --green-500: #48965e;
    --green-400: #6aad7a;
    --green-300: #95c9a0;
    --green-200: #c2e2c9;
    --green-100: #e6f3ea;
    --green-50: #f3faf5;

    --yellow-600: #d4a800;
    --yellow-500: #FFD700;
    --yellow-400: #ffe14d;
    --yellow-300: #ffeb80;
    --yellow-200: #fff2b3;
    --yellow-100: #fff9e0;

    --orange-700: #c46800;
    --orange-600: #E67E00;
    --orange-500: #FF8C00;
    --orange-400: #ffa333;
    --orange-300: #ffba66;
    --orange-200: #ffd199;
    --orange-100: #ffe8cc;

    --charcoal-900: #1a1a1a;
    --charcoal-800: #2C2C2C;
    --charcoal-700: #3d3d3d;
    --charcoal-600: #555555;
    --charcoal-500: #717171;
    --charcoal-400: #8f8f8f;
    --charcoal-300: #adadad;
    --charcoal-200: #d1d1d1;
    --charcoal-100: #e8e8e8;

    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --light-gray: #F5F5F5;
    --border-gray: #E5E7EB;
    --border-light: #F0F0F0;

    --error-500: #DC2626;
    --error-100: #FEE2E2;
    --success-500: #16A34A;
    --success-100: #DCFCE7;
    --warning-500: #D97706;
    --warning-100: #FEF3C7;

    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);

    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--charcoal-800);
    line-height: 1.6;
    background: var(--white);
    font-size: 16px;
    overflow-x: hidden;
}

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

a {
    color: var(--green-700);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--green-600);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.visible:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll.visible:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll.visible:nth-child(4) { transition-delay: 0.3s; }

/* ========================================
   HEADER
   ======================================== */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--green-700);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: opacity 0.2s ease;
}

.site-logo:hover {
    opacity: 0.85;
    color: var(--green-700);
}

.site-logo svg {
    flex-shrink: 0;
}

.logo-image {
    height: 42px;
    width: auto;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-navigation a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: var(--charcoal-600);
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.main-navigation a:hover {
    color: var(--green-700);
    background: var(--green-50);
}

.main-navigation .current-menu-item a,
.main-navigation .current_page_item a {
    color: var(--green-700);
    background: var(--green-100);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-gray);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    cursor: pointer;
    color: var(--charcoal-700);
    font-size: 1.25rem;
    transition: all 0.2s ease;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle:hover {
    background: var(--light-gray);
    border-color: var(--charcoal-200);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 2px solid transparent;
    line-height: 1.4;
    white-space: nowrap;
}

.btn-primary {
    background: var(--yellow-500);
    color: var(--charcoal-900);
    border-color: var(--yellow-500);
}

.btn-primary:hover {
    background: var(--yellow-400);
    border-color: var(--yellow-400);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,215,0,0.35);
    color: var(--charcoal-900);
}

.btn-secondary {
    background: var(--orange-500);
    color: var(--white);
    border-color: var(--orange-500);
}

.btn-secondary:hover {
    background: var(--orange-600);
    border-color: var(--orange-600);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,140,0,0.35);
    color: var(--white);
}

.btn-green {
    background: var(--green-700);
    color: var(--white);
    border-color: var(--green-700);
}

.btn-green:hover {
    background: var(--green-800);
    border-color: var(--green-800);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45,95,63,0.35);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--green-700);
    transform: translateY(-2px);
}

.btn-outline-green {
    background: transparent;
    border-color: var(--green-700);
    color: var(--green-700);
}

.btn-outline-green:hover {
    background: var(--green-700);
    color: var(--white);
    transform: translateY(-2px);
}

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

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    position: relative;
    background: linear-gradient(150deg, var(--green-900) 0%, var(--green-700) 50%, var(--green-800) 100%);
    color: var(--white);
    padding: 96px 24px;
    text-align: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-section h1 {
    font-family: var(--font-display);
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
}

.hero-section .hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 32px;
    font-weight: 400;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section .btn-group {
    justify-content: center;
}

.hero-compact {
    padding: 64px 24px;
}

.hero-compact h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.hero-compact .hero-subtitle {
    margin-bottom: 0;
}

/* ========================================
   STATS SECTION
   ======================================== */

.stats-section {
    background: var(--white);
    padding: 0 24px;
    margin-top: -48px;
    position: relative;
    z-index: 10;
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--green-700);
    display: block;
    margin-bottom: 4px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--charcoal-500);
    font-weight: 500;
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */

.content-section {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.content-section-alt {
    background: var(--light-gray);
}

.content-section-alt .content-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-block;
    background: var(--green-100);
    color: var(--green-700);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--charcoal-900);
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}

.section-title-green {
    color: var(--green-700);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--charcoal-500);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.65;
}

.section-title.text-left,
.section-subtitle.text-left {
    text-align: left;
    margin-left: 0;
}

/* ========================================
   CARDS
   ======================================== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

.card-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
}

.card:hover {
    border-color: var(--green-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.card-icon-green {
    background: var(--green-100);
    color: var(--green-700);
}

.card-icon-orange {
    background: var(--orange-100);
    color: var(--orange-600);
}

.card-icon-yellow {
    background: var(--yellow-100);
    color: var(--yellow-600);
}

.card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--charcoal-900);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.card p {
    color: var(--charcoal-500);
    line-height: 1.65;
    font-size: 0.9375rem;
}

.card .btn {
    margin-top: 20px;
}

.card-flat {
    border: none;
    box-shadow: none;
    background: var(--light-gray);
}

.card-flat:hover {
    background: var(--green-50);
    box-shadow: none;
}

/* ========================================
   RAFFLE BANNER
   ======================================== */

.raffle-banner {
    position: relative;
    background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-700) 100%);
    color: var(--white);
    padding: 72px 24px;
    text-align: center;
    overflow: hidden;
}

.raffle-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    pointer-events: none;
}

.raffle-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}

.raffle-banner-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.raffle-banner h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.raffle-banner p {
    font-size: 1.1rem;
    margin-bottom: 24px;
    line-height: 1.65;
    opacity: 0.95;
}

.raffle-banner .disclaimer {
    font-size: 0.8125rem;
    margin-top: 20px;
    opacity: 0.75;
    font-weight: 400;
}

/* ========================================
   NEWS SECTION
   ======================================== */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
}

.news-card:hover {
    border-color: var(--green-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-image-wrapper {
    overflow: hidden;
    height: 200px;
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-content {
    padding: 24px;
}

.news-date {
    font-size: 0.8125rem;
    color: var(--charcoal-400);
    font-weight: 500;
    margin-bottom: 8px;
}

.news-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--charcoal-900);
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.news-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-card h3 a:hover {
    color: var(--green-700);
}

.news-card p {
    color: var(--charcoal-500);
    line-height: 1.6;
    font-size: 0.9375rem;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--green-700);
    font-weight: 600;
    font-size: 0.875rem;
    margin-top: 16px;
    transition: gap 0.2s ease;
}

.news-link:hover {
    gap: 10px;
}

/* ========================================
   NEWSLETTER SECTION
   ======================================== */

.newsletter-section {
    background: var(--green-700);
    color: var(--white);
    padding: 72px 24px;
    text-align: center;
}

.newsletter-content {
    max-width: 560px;
    margin: 0 auto;
}

.newsletter-section h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.newsletter-section p {
    opacity: 0.85;
    margin-bottom: 32px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-sans);
    background: rgba(255,255,255,0.15);
    color: var(--white);
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--yellow-500);
    background: rgba(255,255,255,0.2);
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    background: var(--charcoal-900);
    color: rgba(255,255,255,0.8);
    padding: 64px 24px 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-section h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.footer-section p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

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

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

.footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.footer-section a:hover {
    color: var(--yellow-500);
}

.footer-charity-info {
    font-size: 0.875rem !important;
    color: rgba(255,255,255,0.5) !important;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom p {
    margin-bottom: 4px;
}

/* ========================================
   AGE GATE
   ======================================== */

.age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 24px;
    animation: fadeIn 0.3s ease;
}

.age-gate-content {
    background: var(--white);
    padding: 48px 40px;
    border-radius: var(--radius-xl);
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-xl);
    animation: fadeInUp 0.4s ease;
}

.age-gate-icon {
    width: 64px;
    height: 64px;
    background: var(--orange-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.75rem;
}

.age-gate-content h2 {
    font-family: var(--font-display);
    color: var(--charcoal-900);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.age-gate-content p {
    color: var(--charcoal-500);
    margin-bottom: 12px;
    line-height: 1.65;
    font-size: 0.9375rem;
}

.age-gate-content .btn-group {
    justify-content: center;
    margin-top: 28px;
}

/* ========================================
   COMPLIANCE BANNER
   ======================================== */

.compliance-banner {
    background: var(--orange-100);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--orange-500);
    margin-bottom: 48px;
}

.compliance-banner p {
    color: var(--charcoal-700);
    font-size: 0.9375rem;
    line-height: 1.65;
}

/* ========================================
   RAFFLE INFO GRID
   ======================================== */

.raffle-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.info-box {
    background: var(--light-gray);
    padding: 24px 16px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.info-box:hover {
    border-color: var(--green-200);
    background: var(--green-50);
}

.info-box-label {
    font-size: 0.8125rem;
    color: var(--charcoal-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.info-box-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--green-700);
    letter-spacing: -0.01em;
}

/* ========================================
   PRIZES GRID
   ======================================== */

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.prize-card {
    background: var(--white);
    border: 2px solid var(--border-gray);
    border-radius: var(--radius-xl);
    padding: 40px 24px 32px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.prize-card:hover {
    border-color: var(--orange-300);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.prize-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    color: var(--white);
    padding: 6px 20px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.8125rem;
    white-space: nowrap;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(255,140,0,0.3);
}

.prize-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal-900);
    margin: 8px 0;
    letter-spacing: -0.01em;
}

.prize-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--green-700);
}

/* ========================================
   PURCHASE SECTION
   ======================================== */

.purchase-section {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.purchase-form {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-xl);
    padding: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--charcoal-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-gray);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-family: var(--font-sans);
    color: var(--charcoal-800);
    background: var(--white);
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(45,95,63,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--charcoal-300);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.checkbox-group {
    display: flex;
    align-items: start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--green-700);
    flex-shrink: 0;
}

.checkbox-group label {
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--charcoal-600);
    line-height: 1.5;
    margin-bottom: 0;
}

.order-summary {
    background: var(--light-gray);
    border-radius: var(--radius-xl);
    padding: 32px;
    height: fit-content;
    position: sticky;
    top: 96px;
    border: 1px solid var(--border-light);
}

.order-summary h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal-900);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.9375rem;
    color: var(--charcoal-600);
}

.summary-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--green-700);
    border-top: 2px solid var(--border-gray);
    padding-top: 16px;
    margin-top: 16px;
}

.summary-note {
    margin-top: 20px;
    font-size: 0.8125rem;
    color: var(--charcoal-400);
    line-height: 1.6;
}

/* ========================================
   STEPS GRID
   ======================================== */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.step-card {
    text-align: center;
    padding: 24px 16px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--green-700);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--charcoal-900);
}

.step-card p {
    font-size: 0.875rem;
    color: var(--charcoal-500);
    line-height: 1.6;
}

/* ========================================
   TABLE
   ======================================== */

.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-gray);
    margin-bottom: 48px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 14px 20px;
    text-align: left;
    font-size: 0.9375rem;
}

table th {
    background: var(--green-700);
    color: var(--white);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

table td {
    border-bottom: 1px solid var(--border-light);
    color: var(--charcoal-600);
}

table tbody tr:hover {
    background: var(--green-50);
}

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

/* ========================================
   TIMELINE
   ======================================== */

.timeline {
    position: relative;
    padding: 16px 0;
    max-width: 800px;
    margin: 0 auto 48px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 108px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--green-200);
    border-radius: 100px;
}

.timeline-item {
    display: flex;
    margin-bottom: 32px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-year {
    flex: 0 0 88px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--green-700);
    text-align: right;
    padding-right: 24px;
    padding-top: 4px;
}

.timeline-dot {
    position: absolute;
    left: 104px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--green-700);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--green-200);
    z-index: 1;
}

.timeline-content {
    flex: 1;
    padding-left: 32px;
    padding-bottom: 8px;
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--charcoal-900);
    letter-spacing: -0.01em;
}

.timeline-content p {
    color: var(--charcoal-500);
    line-height: 1.65;
    font-size: 0.9375rem;
}

/* ========================================
   QUOTE SECTION
   ======================================== */

.quote-section {
    background: var(--green-50);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    text-align: center;
    margin: 48px 0;
    border: 1px solid var(--green-100);
}

.quote-section blockquote,
.quote-section .quote-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--charcoal-700);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 20px;
}

.quote-author {
    font-style: normal;
    font-weight: 700;
    font-size: 1rem;
    color: var(--green-700);
}

.quote-role {
    font-size: 0.875rem;
    color: var(--charcoal-400);
    font-weight: 400;
    font-style: normal;
}

/* ========================================
   FAQ
   ======================================== */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: var(--green-200);
}

.faq-question {
    padding: 20px 24px;
    font-weight: 600;
    color: var(--charcoal-800);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 1rem;
    transition: color 0.2s ease;
    user-select: none;
}

.faq-question:hover {
    color: var(--green-700);
}

.faq-question::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--charcoal-400);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 24px 20px;
    color: var(--charcoal-500);
    line-height: 1.7;
    font-size: 0.9375rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ========================================
   ADDRESS LIST
   ======================================== */

.address-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.address-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.2s ease;
}

.address-card:hover {
    border-color: var(--green-200);
    box-shadow: var(--shadow-md);
}

.address-card h4 {
    font-family: var(--font-display);
    color: var(--green-700);
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.address-card p {
    color: var(--charcoal-500);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.address-hours {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

/* ========================================
   CONTACT FORM
   ======================================== */

.contact-form {
    max-width: 640px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

/* ========================================
   LEGAL PAGES
   ======================================== */

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content .card {
    padding: 48px;
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-700);
    margin: 40px 0 16px;
    letter-spacing: -0.01em;
}

.legal-content h2:first-of-type {
    margin-top: 24px;
}

.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--charcoal-800);
    margin: 24px 0 8px;
}

.legal-content p {
    color: var(--charcoal-600);
    line-height: 1.75;
    margin-bottom: 12px;
    font-size: 0.9375rem;
}

.legal-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-content li {
    color: var(--charcoal-600);
    line-height: 1.75;
    margin-bottom: 4px;
    font-size: 0.9375rem;
}

.legal-meta {
    font-size: 0.875rem;
    color: var(--charcoal-400);
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 24px;
}

/* ========================================
   ABOUT PAGE
   ======================================== */

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 48px;
}

.about-hero-text h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--charcoal-900);
    margin-bottom: 16px;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.about-hero-text p {
    color: var(--charcoal-500);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 12px;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

/* ========================================
   PLAY RESPONSIBLY
   ======================================== */

.responsible-section .card {
    padding: 40px;
}

.responsible-section h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal-900);
    margin: 28px 0 12px;
    letter-spacing: -0.01em;
}

.responsible-section h3:first-child {
    margin-top: 0;
}

.responsible-section p {
    color: var(--charcoal-500);
    line-height: 1.7;
    margin-bottom: 12px;
    font-size: 0.9375rem;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.support-card {
    background: var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.support-card:hover {
    border-color: var(--green-200);
    background: var(--green-50);
}

.support-card h4 {
    font-family: var(--font-display);
    color: var(--green-700);
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 700;
}

.support-card p {
    font-size: 0.875rem;
    margin-bottom: 4px;
}

.support-card a {
    color: var(--green-700);
    font-weight: 600;
}

/* ========================================
   EMERGENCY HELP BOX
   ======================================== */

.help-box {
    background: var(--green-50);
    border: 1px solid var(--green-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-top: 48px;
}

.help-box h3 {
    font-family: var(--font-display);
    color: var(--green-700);
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: 700;
}

.help-box p,
.help-box li {
    color: var(--charcoal-600);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.help-box ul {
    list-style: disc;
    padding-left: 24px;
    margin: 12px 0;
}

/* ========================================
   PAGINATION
   ======================================== */

.pagination {
    text-align: center;
    margin-top: 48px;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--charcoal-600);
    background: var(--light-gray);
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination .page-numbers:hover {
    background: var(--green-100);
    color: var(--green-700);
}

.pagination .page-numbers.current {
    background: var(--green-700);
    color: var(--white);
}

/* ========================================
   FORM FEEDBACK
   ======================================== */

.form-success {
    background: var(--success-100);
    color: var(--success-500);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.9375rem;
    margin-bottom: 20px;
    display: none;
}

.form-error {
    background: var(--error-100);
    color: var(--error-500);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.9375rem;
    margin-bottom: 20px;
    display: none;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mt-8 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.mb-6 { margin-bottom: 48px; }
.hidden { display: none; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */

@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .about-hero-content {
        gap: 32px;
    }

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

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

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

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */

@media (max-width: 768px) {
    .header-container {
        height: 64px;
    }

    .site-logo span {
        font-size: 1.1rem;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border-gray);
        box-shadow: var(--shadow-lg);
        padding: 16px 24px;
        animation: slideDown 0.25s ease;
    }

    .main-navigation.active {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 4px;
    }

    .main-navigation a {
        padding: 12px 16px;
        display: block;
    }

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

    .hero-section {
        padding: 56px 24px;
    }

    .hero-section h1 {
        font-size: 2.25rem;
    }

    .hero-section .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-compact {
        padding: 48px 24px;
    }

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

    .stats-container {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 400px;
    }

    .stat-card {
        padding: 24px;
        display: flex;
        align-items: center;
        gap: 16px;
        text-align: left;
    }

    .stat-number {
        font-size: 2rem;
        margin-bottom: 0;
    }

    .content-section {
        padding: 56px 24px;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

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

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

    .raffle-info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .purchase-section {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: static;
    }

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

    .raffle-banner {
        padding: 56px 24px;
    }

    .raffle-banner h2 {
        font-size: 2rem;
    }

    .newsletter-section {
        padding: 56px 24px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        flex-direction: column;
        padding-left: 24px;
    }

    .timeline-year {
        text-align: left;
        padding-right: 0;
        margin-bottom: 4px;
    }

    .timeline-dot {
        left: -4px;
    }

    .timeline-content {
        padding-left: 0;
    }

    .about-hero-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .address-list {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }

    .legal-content .card {
        padding: 24px;
    }

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

    .age-gate-content {
        padding: 32px 24px;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-group .btn {
        width: 100%;
    }

    .quote-section {
        padding: 32px 24px;
    }

    .quote-section blockquote,
    .quote-section .quote-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.875rem;
    }

    .raffle-info-grid {
        grid-template-columns: 1fr;
    }

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

    .stat-card {
        flex-direction: column;
        text-align: center;
    }
}
