/* Social Casino Adventures Canada - Adventure Theme Styles */

/* CSS Variables */
:root {
    /* Adventure Color Palette */
    --primary-color: #2d5a27;
    --secondary-color: #4a7c59;
    --accent-color: #f4a261;
    --accent-secondary: #e76f51;
    
    /* Adventure Gradients */
    --gradient-primary: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
    --gradient-secondary: linear-gradient(135deg, #4a7c59 0%, #6b8e23 100%);
    --gradient-accent: linear-gradient(135deg, #f4a261 0%, #e76f51 100%);
    --gradient-hero: linear-gradient(135deg, #1a3d1a 0%, #2d5a27 50%, #4a7c59 100%);
    
    /* Nature Colors */
    --forest-green: #228b22;
    --mountain-blue: #4682b4;
    --sunset-orange: #ff6347;
    --earth-brown: #8b4513;
    
    /* Neutral Colors */
    --text-dark: #2c3e50;
    --text-light: #5a6c7d;
    --text-muted: #7f8c8d;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #2c3e50;
    --border-light: #e9ecef;
    --border-medium: #dee2e6;
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(45, 90, 39, 0.1);
    --shadow-medium: 0 4px 20px rgba(45, 90, 39, 0.15);
    --shadow-heavy: 0 8px 30px rgba(45, 90, 39, 0.2);
    --shadow-adventure: 0 10px 40px rgba(244, 162, 97, 0.3);
    
    /* Border Radius */
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --font-primary: 'Roboto Slab', serif;
    --font-secondary: 'Open Sans', sans-serif;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.4rem; }
h6 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.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: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-adventure {
    background: var(--gradient-accent);
    color: white;
    border-radius: var(--border-radius-lg);
}

.btn-adventure:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-adventure);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: var(--border-radius-lg);
}

/* Section Badges */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-accent);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--primary-color);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo i {
    font-size: 2rem;
    color: var(--accent-color);
}

.logo small {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(244, 162, 97, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(74, 124, 89, 0.3) 0%, transparent 50%);
}

.hero-overlay {
    
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/mainn.jpg') center/cover;
    opacity: 0.6;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-card, .floating-coin {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    font-size: 3rem;
    animation: float 6s ease-in-out infinite;
}

.card-1 { top: 20%; left: 10%; animation-delay: 0s; }
.card-2 { top: 60%; right: 15%; animation-delay: 1s; }
.card-3 { top: 30%; right: 25%; animation-delay: 2s; }
.card-4 { bottom: 30%; left: 20%; animation-delay: 3s; }
.coin-1 { top: 70%; left: 70%; animation-delay: 4s; }
.coin-2 { top: 15%; left: 60%; animation-delay: 5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(244, 162, 97, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(244, 162, 97, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f4a261 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-features .feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.hero-features .feature i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.entertainment-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(231, 111, 81, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(231, 111, 81, 0.3);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.hero-scroll a:hover {
    color: var(--accent-color);
    transform: translateY(-5px);
}

.hero-scroll i {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Adventures Section */
.adventures {
    padding: 6rem 0;
    background: var(--bg-light);
}

.adventures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.adventure-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
}

.adventure-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.adventure-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.adventure-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.adventure-card:hover .adventure-image img {
    transform: scale(1.1);
}

.adventure-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.8) 0%, rgba(244, 162, 97, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.adventure-card:hover .adventure-overlay {
    opacity: 1;
}

.adventure-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transform: scale(0);
    transition: var(--transition);
}

.adventure-card:hover .adventure-icon {
    transform: scale(1);
}

.adventure-content {
    padding: 2rem;
}

.adventure-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.adventure-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.adventure-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.adventure-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.adventure-stats i {
    color: var(--accent-color);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: white;
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-text h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.features-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.feature-text p {
    color: var(--text-light);
    margin: 0;
}

.features-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--gradient-primary);
    border-radius: 40px;
    padding: 20px;
    box-shadow: var(--shadow-heavy);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-interface {
    width: 90%;
    text-align: center;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.game-title {
    font-weight: 600;
    color: var(--text-dark);
}

.game-coins {
    color: var(--accent-color);
    font-weight: 600;
}

.game-reels {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.reel {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.spin-btn {
    background: var(--gradient-accent);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.spin-btn:hover {
    transform: scale(1.05);
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: var(--gradient-primary);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--accent-color);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: var(--bg-light);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.testimonial {
    display: none;
    opacity: 0;
    transition: var(--transition);
}

.testimonial.active {
    display: block;
    opacity: 1;
}

.testimonial-content {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    text-align: center;
}

.testimonial-text {
    margin-bottom: 2rem;
}

.testimonial-text p {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
    position: relative;
}

.testimonial-text p::before,
.testimonial-text p::after {
    content: '"';
    font-size: 4rem;
    color: var(--accent-color);
    position: absolute;
    top: -1rem;
}

.testimonial-text p::before {
    left: -2rem;
}

.testimonial-text p::after {
    right: -2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-color);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.author-rating {
    color: var(--accent-color);
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.testimonial-btn {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.testimonial-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-medium);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-medium);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: var(--gradient-hero);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/placeholder.svg?height=600&width=1200&text=Adventure+CTA+Background') center/cover;
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-text p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-decoration {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 1;
}

.adventure-badge {
    background: rgba(244, 162, 97, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(244, 162, 97, 0.3);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
}

.adventure-badge i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--accent-color);
}

.footer-logo small {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-badges .badge {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-badges .badge i {
    color: var(--accent-color);
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .features-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .cta-text h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-heavy);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-buttons {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .adventures-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-text p::before,
    .testimonial-text p::after {
        display: none;
    }
    
    .testimonial-content {
        padding: 2rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .adventure-content {
        padding: 1.5rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .testimonial-content {
        padding: 1.5rem;
    }
    
    .testimonial-text p {
        font-size: 1.1rem;
    }
    
    .cta-text h2 {
        font-size: 2rem;
    }
    
    .cta-text p {
        font-size: 1.1rem;
    }
    
    .adventure-badge {
        display: none;
    }
}

/* 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; }

.hidden { display: none; }
.visible { display: block; }

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-light);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/* Legal Pages Unified CSS - Social Casino Adventures Canada */

/* Common Legal Page Styles */
.legal-hero {
    padding: 120px 0 80px;
    background: var(--gradient-hero);
    color: white;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/placeholder.svg?height=600&width=1200&text=Legal+Background') center/cover;
    opacity: 0.1;
}

.legal-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.legal-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f4a261 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.entertainment-notice {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.entertainment-notice i {
    color: var(--accent-color);
}

/* Legal Content Layout */
.legal-content {
    padding: 6rem 0;
    background: white;
}

.legal-container {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 3rem;
    align-items: start;
}

/* Legal Navigation */
.legal-nav {
    position: sticky;
    top: 100px;
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
}

.legal-nav h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-nav h3 i {
    color: var(--accent-color);
}

.legal-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-nav-list li {
    margin-bottom: 0.5rem;
}

.legal-nav-list a {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.legal-nav-list a:hover,
.legal-nav-list a.active {
    background: white;
    border-left-color: var(--accent-color);
    transform: translateX(5px);
    box-shadow: var(--shadow-light);
}

/* Legal Sections */
.legal-sections {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.legal-section {
    padding: 3rem;
    border-bottom: 1px solid var(--border-light);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.legal-section h2 i {
    color: var(--accent-color);
    font-size: 1.8rem;
}

.legal-section h3 {
    color: var(--text-dark);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.legal-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.legal-section ul, 
.legal-section ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-section li {
    color: var(--text-light);
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

/* Legal Highlights */
.legal-highlight {
    background: var(--bg-light);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: var(--border-radius);
}

.legal-highlight h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.legal-highlight p {
    margin-bottom: 0;
}

/* Legal Contact Section */
.legal-contact {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    margin-top: 3rem;
    text-align: center;
}

.legal-contact h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.legal-contact p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-method {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: var(--transition);
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.contact-method i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.contact-method h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-method p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1rem;
}

/* FAQ Specific Styles */
.faq-search-section {
    padding: 2rem 0;
    background: var(--bg-light);
}

.faq-search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.faq-search-box i:first-child {
    padding: 1rem;
    color: var(--text-light);
    font-size: 1.2rem;
}

.faq-search-box input {
    flex: 1;
    padding: 1rem;
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-family: var(--font-secondary);
}

.faq-search-box button {
    background: none;
    border: none;
    padding: 1rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.faq-search-box button:hover {
    color: var(--accent-color);
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 1rem;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.faq-question i {
    color: var(--accent-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding-bottom: 1.5rem;
}

.faq-answer p,
.faq-answer ul,
.faq-answer ol {
    margin-bottom: 1rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

/* Responsible Gaming Specific Styles */
.warning-section {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    margin: 3rem 0;
    text-align: center;
}

.warning-section h2 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.warning-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.warning-signs {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    margin: 3rem 0;
}

.warning-signs h3 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

.warning-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.warning-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.warning-item i {
    color: #e74c3c;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.warning-item p {
    margin: 0;
    color: var(--text-dark);
    font-weight: 500;
}

.responsible-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.responsible-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.responsible-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.responsible-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.responsible-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.responsible-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.responsible-card .btn {
    margin-top: auto;
}

.resources-section {
    background: var(--gradient-primary);
    color: white;
    padding: 4rem 0;
    margin: 4rem 0;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.resource-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: var(--transition);
}

.resource-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.resource-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.resource-card h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.resource-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.resource-card .btn {
    background: white;
    color: var(--primary-color);
    border: none;
}

.resource-card .btn:hover {
    background: var(--accent-color);
    color: white;
}

.tools-section {
    padding: 4rem 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tool-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--accent-color);
}

.tool-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tool-card i {
    color: var(--accent-color);
}

.tool-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tool-card .btn {
    width: 100%;
}

.commitment-section {
    background: var(--bg-light);
    padding: 4rem 0;
    text-align: center;
}

.commitment-content {
    max-width: 800px;
    margin: 0 auto;
}

.commitment-section h2 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.commitment-section p {
    color: var(--text-light);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.commitment-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.commitment-feature {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
}

.commitment-feature i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.commitment-feature h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.commitment-feature p {
    color: var(--text-light);
    margin: 0;
    font-size: 1rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .legal-container {
        grid-template-columns: 1fr;
    }

    .legal-nav {
        position: static;
        margin-bottom: 2rem;
    }

    .responsible-grid,
    .resources-grid,
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .legal-hero h1 {
        font-size: 2.5rem;
    }

    .legal-section {
        padding: 2rem;
    }

    .legal-section h2 {
        font-size: 1.8rem;
    }

    .responsible-card,
    .resource-card,
    .tool-card {
        padding: 2rem;
    }

    .warning-section {
        padding: 2rem;
    }

    .warning-section h2 {
        font-size: 2rem;
    }

    .commitment-features {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .faq-search-box {
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .legal-hero h1 {
        font-size: 2rem;
    }

    .legal-section {
        padding: 1.5rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .responsible-card,
    .resource-card,
    .tool-card {
        padding: 1.5rem;
    }

    .warning-list {
        grid-template-columns: 1fr;
    }

    .warning-item {
        flex-direction: column;
        text-align: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .legal-nav-list a {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }

    .commitment-features {
        grid-template-columns: 1fr;
    }

    .legal-contact {
        padding: 2rem;
    }

    .contact-method {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .legal-nav,
    .back-to-top,
    .header,
    .footer,
    .faq-search-section {
        display: none;
    }

    .legal-container {
        grid-template-columns: 1fr;
    }

    .legal-section {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .legal-hero {
        background: none;
        color: black;
    }

    .legal-hero h1 {
        color: black;
        background: none;
        -webkit-text-fill-color: initial;
    }

    .legal-sections {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .back-to-top,
    .responsible-card,
    .resource-card,
    .tool-card,
    .contact-method,
    .legal-nav-list a,
    .faq-question {
        transition: none;
    }

    .faq-answer {
        transition: none;
    }

    .faq-item.active .faq-answer {
        max-height: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .legal-highlight {
        border-left-width: 6px;
        background: #f0f0f0;
    }

    .warning-item {
        border: 2px solid #e74c3c;
    }

    .tool-card {
        border-left-width: 6px;
    }
}

/* Focus Styles for Better Accessibility */
.legal-nav-list a:focus,
.faq-question:focus,
.back-to-top:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

.faq-search-box input:focus {
    box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

/* Animation for FAQ Items */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item.active .faq-answer {
    animation: fadeInUp 0.3s ease-out;
}

/* Smooth scrolling for all browsers */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar for webkit browsers */
.legal-nav::-webkit-scrollbar {
    width: 6px;
}

.legal-nav::-webkit-scrollbar-track {
    background: var(--bg-light);
}

.legal-nav::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}

.legal-nav::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}