/* ================================
   Ricky Casino - Main Stylesheet
   Red, Black & Gold Theme
   ================================ */

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

/* VARIABLES */
:root {
    --primary-color: #dc2626;      /* Red */
    --secondary-color: #d4af37;    /* Gold */
    --accent-color: #000000;       /* Black */
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #666666;
    --bg-light: #f8f9fa;
    --bg-dark: #0f0f0f;
    --border-color: #e0e0e0;

    --font-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "Playfair Display", Georgia, serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.2);
}

/* BASE */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; margin-bottom: var(--spacing-lg); text-align: center; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover { color: var(--secondary-color); }

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

/* LAYOUT */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #b91c1c);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b91c1c, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-color);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.15rem;
}

/* HEADER */
.site-header {
    background: var(--accent-color);
    padding: 0.9rem 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--shadow-md);
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
}

.logo-icon { font-size: 1.8rem; }

.logo a:hover { color: var(--secondary-color); }

/* NAV */
.main-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-light);
    border-bottom-color: var(--primary-color);
}

/* HEADER ACTIONS */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-login {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.btn-login:hover { color: var(--secondary-color); }

.btn-signup {
    background: var(--primary-color);
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
}

.btn-signup:hover {
    background: #b91c1c;
    transform: translateY(-1px);
}

/* MOBILE TOGGLE */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.3rem;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, var(--accent-color) 0%, #1a1a1a 100%);
    color: var(--text-light);
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220,38,38,0.15), transparent);
    top: -150px;
    right: -150px;
}

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

.hero h1 {
    color: var(--text-light);
    font-size: 2.7rem;
    margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.feature-badge {
    border-radius: 999px;
    padding: 0.5rem 1.4rem;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(220,38,38,0.2);
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.hero-disclaimer {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* BONUS SECTION */
.bonus-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.section-intro {
    max-width: 720px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
    color: var(--text-gray);
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
}

.bonus-card {
    background: #fff;
    border-radius: 12px;
    padding: var(--spacing-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: var(--transition-normal);
}

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

.bonus-number {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    margin: 0 auto var(--spacing-xs);
    background: linear-gradient(135deg, var(--primary-color), #b91c1c);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.bonus-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

/* FEATURES */
.features-section {
    padding: var(--spacing-xl) 0;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: var(--spacing-md);
    border: 2px solid transparent;
    transition: var(--transition-normal);
}

.feature-card:hover {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* GAMES */
.games-section {
    padding: var(--spacing-xl) 0;
    background: var(--accent-color);
    color: var(--text-light);
}

.games-section h2 { color: var(--text-light); }

.games-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.game-category {
    background: rgba(220,38,38,0.15);
    border-radius: 12px;
    padding: var(--spacing-md);
    text-align: center;
    border: 1px solid rgba(220,38,38,0.3);
    transition: var(--transition-normal);
}

.game-category:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

.category-image {
    font-size: 3rem;
    margin-bottom: var(--spacing-xs);
}

.game-category h3 {
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.game-category p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
}

/* PAYMENTS */
.payments-section {
    padding: var(--spacing-xl) 0;
    background: #fff;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.payment-badge {
    border-radius: 999px;
    padding: 0.7rem 1.6rem;
    background: linear-gradient(135deg, var(--primary-color), #b91c1c);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
}

/* TRUST */
.trust-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmin(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.trust-item {
    background: #fff;
    border-radius: 10px;
    padding: var(--spacing-md);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.trust-item h3 { margin-bottom: 0.3rem; }

.trust-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* CTA */
.cta-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary-color), #b91c1c);
    color: var(--text-light);
    text-align: center;
}

.cta-section h2 { color: var(--text-light); }

/* FOOTER */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-xs);
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-licenses .license-badge {
    display: inline-block;
    margin-right: 0.3rem;
    margin-top: 0.3rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(220,38,38,0.15);
    border: 1px solid rgba(220,38,38,0.4);
    font-size: 0.8rem;
}

.footer-links {
    list-style: none;
}

.footer-links li { margin-bottom: 0.35rem; }

.footer-links a {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
}

.footer-links a:hover { color: var(--secondary-color); }

.footer-payment-methods h5 {
    text-align: center;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.7);
}

.payment-icons span {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

/* MOBILE */
@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        background: #1a1a1a;
        flex-direction: column;
        gap: 0;
        padding: 0.8rem 0;
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        box-shadow: var(--shadow-lg);
    }

    .main-nav.active { transform: translateY(0); }

    .nav-link {
        width: 100%;
        padding: 0.75rem var(--spacing-md);
        border-bottom: 1px solid rgba(255,255,255,0.08);
        text-align: left;
    }

    .nav-link:hover { background: rgba(220,38,38,0.1); }

    .header-actions { display: none; }

    .mobile-toggle { display: flex; }

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

    h2 { font-size: 1.75rem; }

    .bonus-grid,
    .features-grid,
    .games-categories,
    .trust-grid {
        grid-template-columns: 1fr;
    }
}
