/* ===================================
   FREEPPALY - CANADA CASINO LISTING
   Classic Casino Style with Gold Accents
   =================================== */

/* ===================================
   1. RESET & BASE STYLES
   =================================== */

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

:root {
    /* Color Scheme - Modern Gray & Blue Palette */
    --gold: #3b82f6;
    --dark-gold: #2563eb;
    --light-gold: #93c5fd;
    --dark-bg: #f5f5f5;
    --card-bg: #ffffff;
    --accent: #e5e7eb;
    --text-light: #1f2937;
    --text-gray: #6b7280;
    --success: #10b981;
    --danger: #ef4444;
    
    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-body);
    background: #e5e7eb;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

/* ===================================
   2. HEADER & NAVIGATION
   =================================== */

.header {
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--gold);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--gold);
    cursor: pointer;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.logo i {
    font-size: 2rem;
    animation: pulse 2s infinite;
}

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

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

.nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

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

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(15, 15, 30, 0.98);
    backdrop-filter: blur(10px);
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    border-bottom: 2px solid var(--gold);
    z-index: 999;
}

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

.mobile-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: var(--transition);
}

.mobile-menu a:hover {
    color: var(--gold);
    padding-left: 10px;
}

/* ===================================
   3. HERO SECTION
   =================================== */

.hero {
    margin-top: 70px;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #16213e 0%, #0f0f1e 100%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--light-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 600;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s backwards;
}

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

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    left: -200px;
    animation: float 20s infinite;
}

.circle-2 {
    width: 300px;
    height: 300px;
    top: 50%;
    right: -150px;
    animation: float 15s infinite reverse;
}

.circle-3 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: 30%;
    animation: float 25s infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(90deg); }
    50% { transform: translate(0, -40px) rotate(180deg); }
    75% { transform: translate(-20px, -20px) rotate(270deg); }
}

/* ===================================
   4. BUTTONS
   =================================== */

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    color: var(--dark-bg);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

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

.btn-secondary:hover {
    background: var(--gold);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.btn-play {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5);
}

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

.btn-review:hover {
    background: var(--gold);
    color: var(--dark-bg);
}

/* ===================================
   5. CASINO LISTINGS
   =================================== */

.casinos-section {
    padding: 1rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
}

.casinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.casino-card {
    background: var(--card-bg);
    border-radius: 0;
    padding: 2rem;
    position: relative;
    border: 2px solid transparent;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin: 0;
}

.casino-position {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    font-family: var(--font-heading);
    background: var(--accent);
    border: 3px solid var(--gold);
    color: var(--gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.casino-position.gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    color: var(--dark-bg);
    border-color: var(--light-gold);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.6);
}

.casino-position.silver {
    background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 100%);
    color: var(--dark-bg);
    border-color: #e0e0e0;
    box-shadow: 0 4px 20px rgba(192, 192, 192, 0.4);
}

.casino-position.bronze {
    background: linear-gradient(135deg, #cd7f32 0%, #b86f28 100%);
    color: var(--dark-bg);
    border-color: #e39850;
    box-shadow: 0 4px 20px rgba(205, 127, 50, 0.4);
}

.casino-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.casino-badge.top {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.casino-badge.popular {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.casino-badge.new {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.casino-badge.hot {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.casino-badge.recommended {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.casino-badge.bonus {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: white;
}

.casino-logo {
    margin: 3rem 0 1.5rem;
    text-align: center;
}

.logo-placeholder {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 15px;
    border: 2px dashed var(--gold);
    min-width: 200px;
}

.logo-placeholder img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100px;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

.logo-placeholder i {
    font-size: 3rem;
    color: var(--gold);
}

.logo-placeholder span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold);
}

.casino-info {
    position: relative;
    z-index: 1;
}

.casino-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-align: center;
}

.casino-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stars {
    display: flex;
    gap: 0.3rem;
}

.stars i {
    color: var(--gold);
    font-size: 1.2rem;
    transition: var(--transition);
}

.casino-card:hover .stars i {
    transform: scale(1.2) rotate(10deg);
}

.rating-score {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
}

.casino-bonus {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.bonus-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bonus-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
}

.casino-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.feature i {
    color: var(--success);
    font-size: 1rem;
}

.promo-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(212, 175, 55, 0.1);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 1px dashed var(--gold);
}

.promo-label {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.promo-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Courier New', monospace;
}

.copy-btn {
    background: var(--gold);
    color: var(--dark-bg);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.copy-btn:hover {
    background: var(--light-gold);
    transform: scale(1.1);
}

.copy-btn.copied {
    background: var(--success);
    color: white;
}

.casino-actions {
    display: flex;
    gap: 1rem;
}

.casino-actions .btn {
    flex: 1;
    text-align: center;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
}

/* ===================================
   6. WHY CHOOSE US SECTION
   =================================== */

.why-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #16213e 0%, #0f0f1e 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.why-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--dark-bg);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.why-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ===================================
   7. FOOTER
   =================================== */

.footer {
    background: var(--dark-bg);
    padding: 4rem 0 2rem;
    border-top: 2px solid var(--gold);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: var(--transition);
    border: 2px solid var(--gold);
}

.social-links a:hover {
    background: var(--gold);
    color: var(--dark-bg);
    transform: translateY(-5px);
}

.responsible-gaming {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--danger);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-bottom p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.85rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 1rem auto 0;
}

/* ===================================
   8. SCROLL TO TOP BUTTON
   =================================== */

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--dark-bg);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

/* ===================================
   9. RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .casinos-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .casino-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .casino-position {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* ===================================
   10. ANIMATIONS
   =================================== */

/* Ripple Effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}