/* RideAndBet.com Main Styles */

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

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #0fa3b1;
    background: #f9f7f3;
    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: 'Inter', '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: 'Source Sans Pro', -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: 'JetBrains Mono', 'Helvetica Neue', Arial, monospace;
    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: #eddea4;
    color: #0fa3b1;
}

.btn-primary:hover {
    background: #0fa3b1;
    color: #f9f7f3;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 163, 177, 0.4);
}

.btn-secondary {
    background: #f7a072;
    color: #f9f7f3;
}

.btn-secondary:hover {
    background: #0fa3b1;
    color: #f9f7f3;
}

/* 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: #b5e2fa;
    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: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    color: #f9f7f3;
    margin-bottom: 20px;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.age-modal-content p {
    font-family: 'Source Sans Pro', -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(15, 163, 177, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 2px solid #f9f7f3;
}

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

.logo {
    font-family: 'Orbitron', 'Helvetica Neue', Arial, monospace;
    font-size: 2.2rem;
    font-weight: 800;
    color: #f9f7f3;
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

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

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

.nav-link {
    font-family: 'JetBrains Mono', 'Helvetica Neue', Arial, monospace;
    color: #f9f7f3;
    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: #eddea4;
}

/* Hero Section */
.hero {
    padding: 48px 0;
    text-align: center;
    background: linear-gradient(135deg, #b5e2fa 0%, #0fa3b1 50%, #f7a072 100%);
    position: relative;
    border-bottom: 2px solid #f9f7f3;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 163, 177, 0.1);
    z-index: 1;
}

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

.hero-title {
    font-family: 'Orbitron', 'Helvetica Neue', Arial, monospace;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #f9f7f3;
    letter-spacing: 4px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(15, 163, 177, 0.3);
    text-transform: uppercase;
}

.hero-subtitle {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.4rem;
    color: #f7a072;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

/* Platform List */
.platforms {
    padding: 48px 0 80px;
    background: #0fa3b1
}

.platforms-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
}

.platform-row {
    background: #b5e2fa;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 15px 40px rgba(254, 250, 224, 0.2);
    border-color: rgba(15, 163, 177, 0.3);
    border: 2px solid transparent;
    position: relative;
    min-height: 150px;
}

.platform-rank {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-badge {
    font-family: 'JetBrains Mono', 'Helvetica Neue', Arial, monospace;
    background: #eddea4;
    color: #0fa3b1;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(254, 250, 224, 0.5);
    transition: all 0.3s ease;
}

.platform-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(237, 222, 164, 0.7);
}

.platform-logo-wrapper {
    flex-shrink: 0;
}

.platform-logo {
    background: #f9f7f3;
    border-radius: 10px;
    padding: 15px;
    border: 2px solid rgba(15, 163, 177, 0.3);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 80px;
}

.platform-logo:hover {
    border-color: #0fa3b1;
    box-shadow: 0 5px 15px rgba(15, 163, 177, 0.3);
}

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

.platform-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.platform-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
}

.platform-name {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #0fa3b1;
    margin: 0;
    letter-spacing: 0.5px;
}

.platform-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 2px;
}

.stars {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.1rem;
    color: #0fa3b1;
    font-weight: 600;
}

.reviews {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #f7a072;
    font-size: 0.85rem;
    font-weight: 400;
}

.platform-bonus {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bonus-amount {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    color: #0fa3b1;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.bonus-details {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #f7a072;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.4;
}

.platform-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.feature {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: rgba(15, 163, 177, 0.1);
    border: 1px solid rgba(15, 163, 177, 0.3);
    color: #0fa3b1;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature:hover {
    background: #0fa3b1;
    border-color: #0fa3b1;
    color: #f9f7f3;
}

.platform-action {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    gap: 10px;
}

.platform-action .btn {
    padding: 14px 28px;
    font-size: 1rem;
    min-width: 140px;
}

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

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

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

.section-header p {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.3rem;
    color: #f7a072;
    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: #0fa3b1;
    border-radius: 15px;
    padding: 30px;
    text-align: left;
    border: 1px solid rgba(15, 163, 177, 0.5);
    transition: all 0.3s ease;
}

.feature-block:hover {
    background: #f7a072;
    border-color: #f7a072;
    transform: translateY(-5px);
}

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

.feature-block p {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #f9f7f3;
    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: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding: 5px 0;
    color: #f9f7f3;
    position: relative;
    padding-left: 20px;
    font-weight: 400;
    line-height: 1.5;
}

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

/* Stats Section */
.stats {
    padding: 60px 0;
    background: #0fa3b1;
}

.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: 'Orbitron', 'Helvetica Neue', Arial, monospace;
    font-size: 4.2rem;
    font-weight: 800;
    color: #f7a072;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(187, 103, 13, 0.3);
    letter-spacing: 1px;
}

.stat-label {
    font-family: 'JetBrains Mono', -apple-system, BlinkMacSystemFont, 'Segoe UI', monospace;
    font-size: 1rem;
    color: #f7a072;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 500;
    line-height: 1.2;
}

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

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

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

.footer-safety p {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #f7a072;
    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(254, 250, 224, 0.4);
    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: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #f7a072;
    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: 'JetBrains Mono', -apple-system, BlinkMacSystemFont, 'Segoe UI', monospace;
    color: #f7a072;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .platform-row {
        gap: 20px;
        padding: 25px;
    }
    
    .platform-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .platform-rating {
        align-items: flex-start;
        text-align: left;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 0 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        letter-spacing: 0.3px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav {
        gap: 20px;
    }
    
    .platform-row {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px;
    }
    
    .platform-rank {
        order: -1;
    }
    
    .platform-info {
        order: 0;
    }
    
    .platform-action {
        order: 1;
        justify-content: center;
    }
    
    .platform-header {
        align-items: center;
    }
    
    .platform-rating {
        align-items: center;
        text-align: center;
    }
    
    .platform-features {
        justify-content: center;
    }
    
    .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: 32px 0 32px;
    }
    
    .hero-title {
        font-size: 2rem;
        letter-spacing: 1.5px;
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .platforms {
        padding: 60px 0;
    }
    
    .why-choose {
        padding: 60px 0;
    }
    
    .platform-badge {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    .platform-logo {
        width: 100px;
        height: 70px;
        padding: 10px;
    }
    
    .platform-name {
        font-size: 1.5rem;
    }
    
    .bonus-amount {
        font-size: 1.1rem;
    }
    
    .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 #0fa3b1;
    outline-offset: 2px;
}

/* Legal Content Styles */
.legal-content {
    padding: 80px 0;
    background: rgba(15, 163, 177, 0.1);
}

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

.legal-text {
    background: rgba(96, 108, 56, 0.2);
    border-radius: 15px;
    padding: 40px;
    border: 1px solid rgba(254, 250, 224, 0.2);
    line-height: 1.8;
}

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

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

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

.legal-text p {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin-bottom: 20px;
    color: #f9f7f3;
    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: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin-bottom: 10px;
    color: #f9f7f3;
    font-weight: 400;
    line-height: 1.6;
}

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

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

.legal-text strong {
    color: #f9f7f3;
    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;
    }
}
