/*
Theme Name: Ryve
Theme URI: https://ryve-ticketing.com/
Author: Ryve Development
Description: A premium, high-energy, dark-mode theme designed for immersive event experiences.
Version: 1.0.0
Text Domain: ryve
*/

/* ==========================================================================
   CUSTOM TYPOGRAPHY (PORTABLE)
   ========================================================================== */

@font-face {
    font-family: 'Druk Text Wide';
    src: url('/wp-content/uploads/2026/03/DrukTextWide-Medium.5c4daa7d.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Saira';
    src: url('/wp-content/uploads/2026/03/Saira-Regular.2479b70f.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --ryve-bg: #050709;
    --ryve-accent: #D9FF00;
    /* Neon Lime */
    --ryve-blue: #00A3E0;
    /* Cyan Glow */
    --ryve-text: #FFFFFF;
    --ryve-text-dim: #94a3b8;
    --ryve-card-bg: rgba(18, 22, 28, 0.7);

    /* Assigned Fonts */
    --ryve-font-heading: 'Druk Text Wide', sans-serif;
    --ryve-font-body: 'Saira', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--ryve-bg);
    background-image: radial-gradient(circle at 50% -20%, rgba(0, 163, 224, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(217, 255, 0, 0.05) 0%, transparent 40%);
    color: var(--ryve-text);
    margin: 0;
    padding: 0;
    font-family: var(--ryve-font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--ryve-font-heading);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-top: 0;
    font-size: 0.9rem;
    /* Base size for Wide font */
}

/* Adjustments for the wide font in Hero Section */
.hero-main-title {
    font-size: 3.5rem !important;
    line-height: 1.1;
}

h2.hero-sub-title {
    font-size: 2.5rem !important;
    line-height: 1.2;
}

/* WooCommerce Specific Typography Tuning */
.woocommerce h1,
.woocommerce h2,
.woocommerce h3,
.woocommerce-Address-title h3,
.woocommerce-column__title {
    font-size: 1.2rem !important;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

a {
    color: var(--ryve-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-shadow: 0 0 10px rgba(217, 255, 0, 0.5);
}

/* Header Styles */
.ryve-main-header {
    position: sticky;
    top: 0;
    z-index: 10000;
    background: rgba(10, 13, 17, 0.85);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.ryve-logo {
    font-family: var(--ryve-font-heading);
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.02em;
    padding: 8px 24px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ryve-logo span {
    color: var(--ryve-accent);
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 32px;
}

.main-navigation a {
    color: var(--ryve-text-dim);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.main-navigation a:hover {
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.ryve-header-cta-blue,
.button,
button,
input[type="submit"] {
    font-family: var(--ryve-font-heading);
    background: #c2eb1c !important;
    color: #000 !important;
    font-weight: 900;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 0 30px rgba(194, 235, 28, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: 0.3s;
}

.ryve-header-cta-blue:hover,
.button:hover,
button:hover,
input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 45px rgba(194, 235, 28, 0.6);
}

/* --- Ticket Quantity Pill Controls (Messi Premium Design) --- */
.ryve-qty-controls {
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(255, 255, 255, 0.05) !important;
    /* Translucent background */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 4px !important;
    border-radius: 50px !important;
    /* Full pill shape */
    backdrop-filter: blur(8px) !important;
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
    flex-wrap: nowrap !important;
    /* Force same line */
}

/* Specific Override for Qty Buttons */
.ryve-qty-btn {
    font-family: var(--ryve-font-body) !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    /* Signs look better slightly larger */
    font-weight: 900 !important;
    border-radius: 50% !important;
    background: #000 !important;
    color: #c2eb1c !important;
    /* Official Lime Color */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    min-width: 38px !important;
}

.ryve-qty-btn:hover {
    background: #111 !important;
    transform: scale(1.05);
}

.ryve-qty-input,
.ryve-qty-input[type=number] {
    font-family: var(--ryve-font-body) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    width: 45px !important;
    background: transparent !important;
    border: none !important;
    text-align: center !important;
    color: #ffffff !important;
    /* Force true white */
    padding: 0 !important;
    opacity: 1 !important;
    /* Ensure visibility if disabled/readonly */
    -webkit-text-fill-color: #ffffff !important;
    /* Fix for some browsers dimming text */
}

/* Card Styles */
.ryve-premium-card {
    background: var(--ryve-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Footer Styles */
.ryve-main-footer {
    padding: 80px 5% 40px;
    background: #000;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ryve-footer-text {
    color: var(--ryve-text-dim);
    font-size: 14px;
}

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

.glow-lime {
    box-shadow: 0 0 20px rgba(217, 255, 0, 0.4);
}

.glow-blue {
    box-shadow: 0 0 20px rgba(0, 163, 224, 0.4);
}