/* RideAndBet.com Main Styles */

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #fefae0;
    background: #283618;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-weight: 400;
    font-feature-settings: 'liga' 1, 'kern' 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    margin: 0 0 1rem 0;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
}

h2 {
    font-size: 2.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.15;
}

h3 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.8px;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.4px;
}

p {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7;
}

/* Buttons */
.btn {
    font-family: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
    display: inline-block;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    line-height: 1.2;
}

.btn-primary {
    background: #fefae0;
    color: #283618;
}

.btn-primary:hover {
    background: #dda15e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(221, 161, 94, 0.4);
}

.btn-secondary {
    background: #606c38;
    color: #fefae0;
}

.btn-secondary:hover {
    background: #bc6c25;
    color: #fefae0;
}

/* Age Verification Modal */
.age-modal {
    display: flex;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.age-modal-content {
    background: #606c38;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    margin: 20px;
}

.age-modal-content h2 {
    font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    color: #fefae0;
    margin-bottom: 20px;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.age-modal-content p {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 400;
    line-height: 1.6;
}

.age-modal-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.age-modal-buttons .btn {
    min-width: 120px;
}

/* Header */
.header {
    background: rgba(40, 54, 24, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 2px solid #dda15e;
}

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

.logo {
    font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #dda15e;
    text-decoration: none;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
    color: #fefae0;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #dda15e;
}

/* Hero Section */
.hero {
    padding: 80px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, #283618 0%, #606c38 50%, #dda15e 100%);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(40, 54, 24, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fefae0;
    letter-spacing: 3px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(221, 161, 94, 0.4);
}

.hero-subtitle {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.6rem;
    color: #dda15e;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
    letter-spacing: 0.3px;
}

/* Platform Cards */
.platforms {
    padding: 80px 0;
    background: rgba(96, 108, 56, 0.1);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.platform-card {
    background: #606c38;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s ease;
    border: 2px solid transparent;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 500px;
    overflow: visible;
    --border-opacity: 0.2;
    --border-intensity: 1;
    --glow-intensity: 0;
}

.platform-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(221, 161, 94, var(--glow-intensity, 0.2));
    border-color: rgba(221, 161, 94, var(--border-opacity, 0.2));
}

.platform-card.mouse-tracking {
    border-color: rgba(221, 161, 94, var(--border-opacity, 0.2));
    box-shadow: 
        0 20px 50px rgba(221, 161, 94, var(--glow-intensity, 0.2)),
        0 0 20px rgba(221, 161, 94, calc(var(--glow-intensity, 0) * 0.5)),
        inset 0 0 20px rgba(221, 161, 94, calc(var(--glow-intensity, 0) * 0.1));
    transition: transform 0.3s ease, box-shadow 0.1s ease, border-color 0.1s ease;
}



.platform-card.featured {
    border: 3px solid #dda15e;
    box-shadow: 0 15px 40px rgba(221, 161, 94, 0.3);
}

.platform-card.featured::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: #dda15e;
    border-radius: 15px;
    z-index: -1;
}

.platform-badge {
    font-family: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
    background: #dda15e;
    color: #283618;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 15px rgba(221, 161, 94, 0.4);
    z-index: 10;
    transition: all 0.3s ease;
}

.platform-badge:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(221, 161, 94, 0.6);
}

.platform-logo {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border: 2px solid rgba(221, 161, 94, 0.2);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
}

.platform-logo:hover {
    border-color: #dda15e;
    box-shadow: 0 5px 15px rgba(221, 161, 94, 0.2);
}

.logo-image {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.platform-name {
    font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #fefae0;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.platform-rating {
    margin-bottom: 20px;
}

.stars {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.2rem;
    color: #dda15e;
    font-weight: 600;
    margin-bottom: 5px;
}

.reviews {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #dda15e;
    font-size: 0.9rem;
    font-weight: 400;
}

.bonus {
    background: rgba(188, 108, 37, 0.1);
    border: 1px solid #bc6c25;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.bonus h4 {
    font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    color: #bc6c25;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.bonus p {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #dda15e;
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

.features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.features li {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding: 8px 0;
    color: #dda15e;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

.features li::before {
    content: "✔";
    color: #bc6c25;
    font-weight: bold;
    margin-right: 10px;
}

/* Platform Card Layout */
.platform-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.platform-footer {
    margin-top: auto;
    padding-top: 20px;
}

/* Why Choose Section */
.why-choose {
    padding: 80px 0;
    background: #606c38;
}

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

.section-header h2 {
    color: #fefae0;
    margin-bottom: 20px;
}

.section-header p {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.3rem;
    color: #dda15e;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
}

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

.feature-block {
    background: rgba(40, 54, 24, 0.3);
    border-radius: 15px;
    padding: 30px;
    text-align: left;
    border: 1px solid rgba(221, 161, 94, 0.2);
    transition: all 0.3s ease;
}

.feature-block:hover {
    background: rgba(40, 54, 24, 0.5);
    border-color: #dda15e;
    transform: translateY(-5px);
}

.feature-block h3 {
    font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    color: #dda15e;
    margin-bottom: 15px;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.feature-block p {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #fefae0;
    margin-bottom: 20px;
    line-height: 1.7;
    font-weight: 400;
}

.feature-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-block li {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding: 5px 0;
    color: #fefae0;
    position: relative;
    padding-left: 20px;
    font-weight: 400;
    line-height: 1.5;
}

.feature-block li::before {
    content: "•";
    color: #bc6c25;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat {
    padding: 20px;
}

.stat-number {
    font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    font-size: 4.2rem;
    font-weight: 800;
    color: #dda15e;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.stat-label {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    color: #fefae0;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 500;
    line-height: 1.2;
}

/* Footer */
.footer {
    background: #606c38;
    padding: 60px 0 30px;
    border-top: 3px solid #dda15e;
}

.footer-safety {
    text-align: center;
    margin-bottom: 40px;
}

.footer-safety h3 {
    font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    color: #fefae0;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.footer-safety p {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #dda15e;
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 400;
    line-height: 1.6;
}

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

.logo-item {
    background: #FFFFFF;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid rgba(221, 161, 94, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.logo-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.safety-logo-img {
    max-width: 80px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.safety-logo-img:hover {
    filter: brightness(1.1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #dda15e;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.5;
}

.footer-legal p {
    margin: 5px 0;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #dda15e;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
}

.footer-links a:hover {
    color: #fefae0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .platforms-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        letter-spacing: 0.3px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav {
        gap: 20px;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .safety-logos {
        gap: 15px;
    }
    
    .logo-item {
        padding: 12px 15px;
        min-height: 50px;
    }
    
    .safety-logo-img {
        max-width: 60px;
        max-height: 30px;
    }
    
    .age-modal-content {
        padding: 30px 20px;
    }
    
    .age-modal-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 1.5px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .platforms {
        padding: 60px 0;
    }
    
    .why-choose {
        padding: 60px 0;
    }
    
    .platform-card {
        padding: 20px;
    }
    
    .platform-badge {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        top: -20px;
        border-width: 2px;
    }
    
    .platform-logo {
        padding: 15px;
        min-height: 60px;
    }
    
    .logo-image {
        max-height: 45px;
    }
    
    .feature-block {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .safety-logos {
        flex-direction: column;
        align-items: center;
    }
}

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

.platform-card,
.feature-block {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid #dda15e;
    outline-offset: 2px;
}

/* Legal Content Styles */
.legal-content {
    padding: 80px 0;
    background: rgba(96, 108, 56, 0.1);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.legal-text {
    background: rgba(40, 54, 24, 0.3);
    border-radius: 15px;
    padding: 40px;
    border: 1px solid rgba(221, 161, 94, 0.2);
    line-height: 1.8;
}

.legal-text h2 {
    font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    color: #dda15e;
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(221, 161, 94, 0.3);
    letter-spacing: 0.3px;
}

.legal-text h2:first-of-type {
    margin-top: 20px;
}

.legal-text h3 {
    font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    color: #bc6c25;
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    letter-spacing: 0.2px;
}

.legal-text p {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin-bottom: 20px;
    color: #fefae0;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7;
}

.legal-text ul {
    margin: 20px 0;
    padding-left: 30px;
}

.legal-text li {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin-bottom: 10px;
    color: #fefae0;
    font-weight: 400;
    line-height: 1.6;
}

.legal-text a {
    color: #dda15e;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.legal-text a:hover {
    border-bottom-color: #dda15e;
}

.legal-text strong {
    color: #fefae0;
    font-weight: 600;
}

/* Responsive adjustments for legal pages */
@media (max-width: 768px) {
    .legal-content {
        padding: 60px 0;
    }
    
    .legal-text {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .legal-text h2 {
        font-size: 1.5rem;
    }
    
    .legal-text h3 {
        font-size: 1.2rem;
    }
    
    .legal-text p {
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .age-modal,
    .header {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .legal-text {
        background: white;
        border: none;
        box-shadow: none;
    }
    
    .legal-text h2,
    .legal-text h3,
    .legal-text p,
    .legal-text li {
        color: black;
    }
    
    .legal-text a {
        color: black;
        text-decoration: underline;
    }
}
