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

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gold: #ffd700;
    --dark-bg: #0f0f1e;
    --darker-bg: #0a0a14;
    --card-bg: rgba(255, 255, 255, 0.05);
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 50%, #16213e 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: white;
    padding-top: 80px;
    padding-top: max(80px, env(safe-area-inset-top));
    padding-bottom: env(safe-area-inset-bottom);
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    will-change: auto;
    transform: translateZ(0);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo svg,
.logo img {
    color: var(--gold);
    display: block;
    border-radius: 50%;
}

.logo-uk {
    color: var(--gold);
    font-size: 0.9rem;
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Reset default list styling for the WordPress menu inside nav-links */
.nav-links {
    list-style: none;
}

.nav-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline-block;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: white;
    background: rgba(255, 215, 0, 0.1);
}

.nav-link.active {
    color: var(--gold);
    background: rgba(255, 215, 0, 0.15);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Container */
.container {
    text-align: center;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    overflow-x: hidden;
}

@media (max-width: 600px) {
    .container {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 400px) {
    .container {
        padding: 1.25rem 0.75rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .spin-btn,
    .update-btn,
    .preset-btn,
    .clear-btn,
    .offer-modal-btn {
        min-height: 48px;
        touch-action: manipulation;
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.page-header {
    margin-bottom: 3rem;
    margin-top: 0;
    padding: 0 0.5rem;
    max-width: 100%;
    overflow-wrap: break-word;
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: -1px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
    padding: 0 0.25rem;
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    line-height: 1.5;
    padding: 0 0.5rem;
}

.hero-section {
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

@media (max-width: 600px) {
    .hero-section {
        padding: 1.5rem 1rem;
        margin-top: 2rem;
        border-radius: 12px;
    }
}

@media (max-width: 400px) {
    .hero-section {
        padding: 1.25rem 0.875rem;
    }
}

.hero-description {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.wheel-container {
    position: relative;
    width: min(500px, 90vw);
    height: min(500px, 90vw);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    overflow: visible;
}

@media (max-width: 600px) {
    .wheel-container {
        width: min(380px, 92vw);
        height: min(380px, 92vw);
    }
}

@media (max-width: 400px) {
    .wheel-container {
        width: min(320px, 90vw);
        height: min(320px, 90vw);
    }
}

.pointer {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 40px solid #ffd700;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    z-index: 10;
}

.wheel {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 
        0 0 0 12px #1a1a2e,
        0 0 0 16px #ffd700,
        0 0 40px rgba(255, 215, 0, 0.4),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease-out;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Colors Layer */
.colors {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.section {
    position: absolute;
    width: 50%;
    height: 50%;
    top: 0;
    left: 50%;
    transform-origin: 0% 100%;
    transform: rotate(calc(var(--i) * 30deg)) skewY(-60deg);
    overflow: visible;
}

.section.yes {
    background: linear-gradient(135deg, #4a148c 0%, #6a1b9a 50%, #7b1fa2 100%);
}

.section.no {
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 50%, #1976d2 100%);
}

.section:nth-child(odd) {
    filter: brightness(1.1);
}

.section:nth-child(even) {
    filter: brightness(0.95);
}

/* Labels Layer */
.labels {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.label {
    position: absolute;
    width: 50%;
    height: 50%;
    top: 0;
    left: 50%;
    transform-origin: 0% 100%;
    transform: rotate(calc(var(--i) * 30deg + 15deg)); /* +15deg to center text in wedge */
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.label span {
    position: absolute;
    top: 65%; /* Position at 65% from label origin (center between inner circle and outer edge) */
    left: 50%;
    transform: translateX(-50%) rotate(-25deg); /* Rotate to align diagonally in wedge */
    
    font-size: clamp(1.4rem, 3.2vw, 2rem);
    font-weight: 900;
    text-shadow: 
        2px 2px 6px rgba(0, 0, 0, 1),
        0 0 10px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    z-index: 100;
    white-space: nowrap;
}

.center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30%;
    height: 30%;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 0 4px #ffd700,
        0 0 20px rgba(0, 0, 0, 0.8),
        inset 0 4px 10px rgba(0, 0, 0, 0.5);
    z-index: 15;
}

.spin-btn {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    letter-spacing: 1px;
    z-index: 20;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

@media (max-width: 600px) {
    .spin-btn {
        font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    }
}

.spin-btn:hover {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.spin-btn:active {
    transform: scale(0.95);
}

.result {
    margin-top: 3rem;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: bold;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.result.show {
    opacity: 1;
    transform: translateY(0);
}

.result.yes-result {
    color: #64b5f6;
    text-shadow: 
        0 0 20px rgba(100, 181, 246, 0.8),
        0 0 40px rgba(100, 181, 246, 0.4);
    animation: pulse 1.5s ease-in-out infinite;
}

.result.no-result {
    color: #ce93d8;
    text-shadow: 
        0 0 20px rgba(206, 147, 216, 0.8),
        0 0 40px rgba(206, 147, 216, 0.4);
    animation: pulse 1.5s ease-in-out infinite;
}

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

/* Responsive adjustments */
@media (max-width: 600px) {
    h1 {
        margin-bottom: 1.25rem;
        margin-top: 0.25rem;
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        line-height: 1.15;
    }
    
    .wheel-container {
        width: min(380px, 88vw);
        height: min(380px, 88vw);
    }
    
    .section span {
        font-size: clamp(1.3rem, 3vw, 1.8rem);
    }
    
    .result {
        margin-top: 1.75rem;
        min-height: 60px;
        font-size: clamp(1.75rem, 6vw, 2.75rem);
        padding: 0 0.5rem;
        word-break: break-word;
    }
}

@media (max-width: 400px) {
    h1 {
        font-size: clamp(1.5rem, 6.5vw, 2rem);
        letter-spacing: -0.5px;
        margin-top: 0.5rem;
        line-height: 1.1;
    }
    
    .subtitle {
        font-size: clamp(0.9rem, 3.5vw, 1rem);
    }
    
    .wheel-container {
        width: min(300px, 85vw);
        height: min(300px, 85vw);
    }
    
    .label span {
        font-size: clamp(1rem, 2.8vw, 1.3rem);
    }
    
    .pointer {
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-top: 24px solid #ffd700;
        top: -16px;
    }
    
    .result {
        font-size: clamp(1.25rem, 4.5vw, 2rem);
    }
}

/* Controls Panel */
.controls-panel {
    max-width: 600px;
    margin: 0 auto 2rem;
    background: var(--card-bg);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

@media (max-width: 600px) {
    .controls-panel {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }
}

@media (max-width: 400px) {
    .controls-panel {
        padding: 1.25rem 0.875rem;
    }
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-group label {
    font-weight: 600;
    font-size: 1.1rem;
    text-align: left;
    color: rgba(255, 255, 255, 0.9);
}

.input-group input,
.input-group textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 1rem;
    color: white;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 600px) {
    .input-group input,
    .input-group textarea {
        font-size: 16px; /* Prevents auto-zoom on iOS */
        padding: 0.875rem;
    }
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.input-group textarea {
    resize: vertical;
    min-height: 120px;
}

.update-btn,
.preset-btn,
.clear-btn {
    background: var(--primary-gradient);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 600px) {
    .update-btn,
    .preset-btn,
    .clear-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
    }
}

.update-btn:hover,
.preset-btn:hover,
.clear-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.update-btn:active,
.preset-btn:active,
.clear-btn:active {
    transform: translateY(0);
}

.quick-presets {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.preset-btn {
    flex: 1;
    min-width: 100px;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.name-options {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 1rem;
    justify-content: flex-start;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--gold);
}

/* Wheel Cards */
.other-wheels {
    margin-top: 4rem;
}

.other-wheels h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.wheel-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .wheel-cards {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 400px) {
    .wheel-cards {
        gap: 1rem;
    }
}

.wheel-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

@media (max-width: 600px) {
    .wheel-card {
        padding: 1.5rem 1.25rem;
        border-radius: 12px;
    }
}

@media (max-width: 400px) {
    .wheel-card {
        padding: 1.25rem 1rem;
    }
}

.wheel-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.card-icon svg {
    width: 48px;
    height: 48px;
    transition: transform 0.3s ease;
}

.wheel-card:hover .card-icon {
    background: rgba(255, 215, 0, 0.1);
    transform: scale(1.05);
}

.wheel-card:hover .card-icon svg {
    transform: scale(1.1);
}

.wheel-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--gold);
}

.wheel-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Wheel Info */
.wheel-info {
    margin-top: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.info-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

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

.info-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* Canvas Wheels */
canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.roulette-wheel canvas,
#numberCanvas,
#namesCanvas {
    border-radius: 50%;
}

/* Winners Section */
.winners-section {
    margin-top: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    background: var(--card-bg);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.winners-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.winners-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.winner-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    text-align: left;
    font-size: 1rem;
    border-left: 4px solid var(--gold);
}

/* Result variations */
.result.red-result {
    color: #ff6b6b;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.8), 0 0 40px rgba(255, 107, 107, 0.4);
    animation: pulse 1.5s ease-in-out infinite;
}

.result.black-result {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.4);
    animation: pulse 1.5s ease-in-out infinite;
}

.result.green-result {
    color: #51cf66;
    text-shadow: 0 0 20px rgba(81, 207, 102, 0.8), 0 0 40px rgba(81, 207, 102, 0.4);
    animation: pulse 1.5s ease-in-out infinite;
}

.result.number-result {
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.4);
    animation: pulse 1.5s ease-in-out infinite;
}

.result.name-result {
    color: #a78bfa;
    text-shadow: 0 0 20px rgba(167, 139, 250, 0.8), 0 0 40px rgba(167, 139, 250, 0.4);
    animation: pulse 1.5s ease-in-out infinite;
}

/* Homepage Specific Styles */
.featured-section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 0.5rem;
}

.all-wheels {
    margin-top: 5rem;
}

.all-wheels .wheel-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.all-wheels .wheel-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--gold);
    font-weight: 700;
}

.home-info {
    margin-top: 5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    margin-top: 5rem;
    padding: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

@media (max-width: 600px) {
    .footer {
        margin-top: 3rem;
        padding: 1.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 75px;
    }

    .nav-container {
        padding: 0.875rem 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }
    
    .logo img {
        width: 32px;
        height: 32px;
    }

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

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(15, 15, 30, 0.98);
        padding: 0;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
        border-bottom: none;
    }

    .nav-links.active {
        max-height: 400px;
        opacity: 1;
        visibility: visible;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    }

    .nav-link {
        width: 100%;
        padding: 1rem;
        border-radius: 8px;
        text-align: center;
    }

    .container {
        padding: 1rem;
    }
    
    .page-header {
        margin-bottom: 1.75rem;
        margin-top: 0.5rem;
    }

    .controls-panel {
        padding: 1.5rem;
    }

    .wheel-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .all-wheels .wheel-cards {
        grid-template-columns: 1fr;
    }

    .quick-presets {
        flex-direction: column;
    }

    .preset-btn {
        width: 100%;
    }
    
    .home-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-card,
    .wheel-card {
        padding: 1.5rem;
    }
    
    .wheel-info {
        margin-top: 2rem;
    }
    
    .other-wheels,
    .all-wheels,
    .featured-section {
        margin-top: 3rem;
    }
}

/* Extra small devices optimization */
@media (max-width: 480px) {
    body {
        padding-top: 72px;
    }
    
    .logo {
        font-size: 0.95rem;
    }
    
    .logo img {
        width: 28px;
        height: 28px;
    }
    
    .logo-uk {
        font-size: 0.7rem;
    }
    
    h1 {
        font-size: clamp(1.5rem, 6.5vw, 1.9rem);
        letter-spacing: -0.5px;
        line-height: 1.2;
    }
    
    .subtitle {
        font-size: clamp(0.875rem, 3.5vw, 1rem);
        line-height: 1.4;
    }
    
    .section-title {
        font-size: clamp(1.4rem, 5vw, 1.75rem);
    }
    
    .card-icon {
        font-size: 2.25rem;
    }
    
    .wheel-card h3,
    .wheel-card h4 {
        font-size: 1.05rem;
        line-height: 1.3;
    }
    
    .wheel-card p {
        font-size: 0.875rem;
        line-height: 1.4;
    }
    
    .info-card h3 {
        font-size: 1.15rem;
    }
    
    .info-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .controls-panel,
    .info-card,
    .wheel-card {
        padding: 1.125rem;
    }
    
    .input-group input,
    .input-group textarea {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
    
    .update-btn,
    .preset-btn,
    .clear-btn {
        padding: 0.8rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .page-header {
        margin-bottom: 1.5rem;
        margin-top: 0.75rem;
    }
    
    .container {
        padding: 0.875rem;
    }
}

/* Content Sections Styling */
.content-section {
    margin-top: 4rem;
    text-align: left;
}

.content-section .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.content-section .info-card {
    text-align: left;
}

.content-section .info-card p {
    margin-bottom: 0;
    line-height: 1.8;
}

.content-section .info-card h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.section-intro {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.section-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-top: 2rem;
    text-align: center;
    font-style: italic;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Use Cases Grid */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.use-case-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.use-case-card:hover {
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.use-case-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.use-case-card h3 {
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.use-case-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Popular Wheels Grid */
.popular-wheels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.popular-wheel-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.popular-wheel-card:hover {
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.popular-wheel-card h3 {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.popular-wheel-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.wheel-link {
    display: inline-block;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: auto;
    padding-top: 0.5rem;
}

.wheel-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Steps Container */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: var(--card-bg);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.step-item:hover {
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateX(8px);
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gold) 0%, #ffed4e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a2e;
}

.step-content h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.step-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.tip-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--card-bg);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 12px;
    padding: 1.25rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: left;
}

.tip-card:hover {
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

.tip-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tip-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    text-align: left;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 215, 0, 0.4);
}

.faq-item h3 {
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.faq-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Key Takeaways */
.takeaways-card {
    text-align: left;
}

.takeaways-card .intro-text {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

.takeaways-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.takeaways-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
}

.takeaways-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

/* Customize Grid */
.customize-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.customize-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.customize-item:hover {
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(0, 0, 0, 0.3);
}

.customize-icon {
    font-size: 1.25rem;
}

.customize-item span:last-child {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* Trust Features */
.trust-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    border-radius: 50%;
    color: #1a1a2e;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.trust-item span:last-child {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* Rules List */
.rules-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rule-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(167, 139, 250, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(167, 139, 250, 0.2);
}

.rule-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.rule-item span:last-child {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* Template Options */
.template-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.template-tag {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.2) 0%, rgba(129, 140, 248, 0.2) 100%);
    border: 1px solid rgba(167, 139, 250, 0.3);
    color: #c4b5fd;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.template-tag:hover {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.3) 0%, rgba(129, 140, 248, 0.3) 100%);
    border-color: rgba(167, 139, 250, 0.5);
    transform: translateY(-2px);
}

/* Responsive for content sections */
@media (max-width: 768px) {
    .content-section {
        margin-top: 3rem;
    }
    
    .hero-section {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .use-cases-grid,
    .popular-wheels-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card,
    .use-case-card,
    .popular-wheel-card,
    .tip-card,
    .faq-item,
    .step-item {
        padding: 1.25rem;
    }
    
    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-item:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 480px) {
    .feature-icon,
    .use-case-icon {
        font-size: 2rem;
    }
    
    .feature-card h3,
    .use-case-card h3,
    .popular-wheel-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p,
    .use-case-card p,
    .popular-wheel-card p,
    .tip-card p,
    .faq-item p {
        font-size: 0.9rem;
    }
    
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

/* Modal Offer Popup Styles */
.offer-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.offer-modal.show {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.offer-modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
    border: 2px solid var(--gold);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3), 0 0 100px rgba(0, 0, 0, 0.8);
    animation: slideUp 0.4s ease;
    position: relative;
}

.offer-modal-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.offer-modal-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.offer-modal-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.offer-modal-btn {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
    border: none;
    border-radius: 12px;
    padding: 1rem 3rem;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    max-width: 300px;
}

.offer-modal-btn:hover {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.7);
}

.offer-modal-btn:active {
    transform: translateY(0);
}

.offer-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.offer-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: rotate(90deg);
}

/* Hard override to ensure no bullets on primary nav */
.nav-links,
.nav-links li {
    list-style: none !important;
}

/* Quick fix for wpautop wrapping wheel-card links in extra <p> tags */
.wheel-cards > p {
    display: none;
}

.wheel-cards a.wheel-card > p:first-child {
    display: none;
}

@media (max-width: 600px) {
    .offer-modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
        max-width: 400px;
    }
    
    .offer-modal-icon {
        font-size: 3rem;
    }
    
    .offer-modal-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .offer-modal-title {
        font-size: 1.5rem;
    }
    
    .offer-modal-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 400px) {
    .offer-modal-content {
        padding: 1.5rem 1rem;
        width: 92%;
    }
    
    .offer-modal-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .offer-modal-title {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    .offer-modal-text {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .offer-modal-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        max-width: 100%;
    }
    
    .offer-modal-close {
        width: 30px;
        height: 30px;
        font-size: 1.3rem;
        top: 10px;
        right: 10px;
    }
}



/* WheelSpinner - side affiliates (admin-only) */
.featured-section {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    justify-content: center;
}

.ws-reviews-column {
    flex: 0 0 140px;
    max-width: 140px;
}

.ws-review-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Card style similar to compact featured affiliates */
.ws-review-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 215, 0, 0.18);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    margin-bottom: 10px;
    background: #000;
    overflow: hidden;
    flex-direction: column;
}

.ws-review-logo img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.06);
    padding: 4px;
}

.ws-review-content {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ws-review-title a {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold) !important;
    text-decoration: none !important;
}

.ws-review-title a:hover {
    color: var(--gold);
}

.ws-review-bonus {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.ws-review-rating {
    margin-top: 2px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold);
}

.ws-review-button {
	margin-top: 6px;
}

.ws-play-btn {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
	color: #fff !important;
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none !important;
	box-shadow: 0 4px 12px rgba(46, 204, 113, 0.5);
	transition: all 0.2s ease;
}

.ws-play-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(46, 204, 113, 0.7);
}

/* Stack under wheel on small screens */
@media (max-width: 900px) {
    .featured-section {
        flex-direction: column;
        align-items: center;
    }
    .ws-reviews-column {
        max-width: 100% !important;
    }
    .ws-review-list {
        flex-direction: row !important;
    }
}
/* WheelSpinner - side affiliates (admin-only) end */
.page-content{
    text-align: left !important;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    line-height: 1.75;
}

/* Vertical rhythm — every block gets breathing room from what precedes it. */
.page-content > * + * {
    margin-top: 1.25rem;
}

/* Headings: bigger gap above, smaller gap below their paragraph. */
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4 {
    color: #fff;
    font-weight: 700;
    line-height: 1.25;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.page-content h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin-top: 0;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.page-content > h2 + p,
.page-content > h3 + p,
.page-content > h4 + p {
    margin-top: 0.75rem;
}
.page-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-top: 3rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.25);
}
.page-content h2.has-text-align-center {
    text-align: center;
    border-bottom: none;
}
.page-content h3 {
    font-size: clamp(1.2rem, 2.2vw, 1.45rem);
    margin-top: 2.25rem;
    color: var(--gold);
}
.page-content h4 {
    font-size: 1.15rem;
    margin-top: 1.75rem;
}

/* Paragraphs */
.page-content p {
    margin: 0;
}

/* Lists */
.page-content ul,
.page-content ol {
    padding-left: 1.5rem;
    margin-left: 0;
}
.page-content ul.wp-block-list,
.page-content ol.wp-block-list {
    list-style-position: outside;
}
.page-content ul li,
.page-content ol li {
    margin-top: 0.4rem;
    padding-left: 0.25rem;
}
.page-content ul li::marker {
    color: var(--gold);
}
.page-content ol li::marker {
    color: var(--gold);
    font-weight: 700;
}
.page-content li > p {
    margin: 0;
}

/* Links */
.page-content a {
    color: var(--gold);
    text-decoration: underline;
    text-decoration-color: rgba(255, 215, 0, 0.4);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease, color 0.2s ease;
}
.page-content a:hover,
.page-content a:focus {
    color: #ffed4e;
    text-decoration-color: var(--gold);
}

/* Inline emphasis */
.page-content strong { color: #fff; }
.page-content em { color: rgba(255, 255, 255, 0.95); }
.page-content code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.92em;
}
.page-content blockquote {
    border-left: 3px solid var(--gold);
    padding: 0.25rem 1.25rem;
    margin: 1.75rem 0;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 215, 0, 0.04);
    border-radius: 0 8px 8px 0;
}

/* Tables — wrap the figure for horizontal scroll on narrow screens,
   then style the table itself like a card. */
.page-content .wp-block-table {
    margin: 2rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.18);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.page-content .wp-block-table table,
.page-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    background: transparent;
}
.page-content table thead {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12) 0%, rgba(255, 215, 0, 0.06) 100%);
}
.page-content table th {
    text-align: left;
    padding: 0.9rem 1rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    white-space: nowrap;
}
.page-content table td {
    padding: 0.85rem 1rem;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: top;
}
.page-content table tbody tr:last-child td {
    border-bottom: none;
}
.page-content table tbody tr:hover {
    background: rgba(255, 215, 0, 0.04);
}
.page-content table.has-fixed-layout {
    table-layout: auto;
}

/* Images and figures inside content */
.page-content img,
.page-content figure img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.page-content figure {
    margin: 1.5rem 0;
}
.page-content figcaption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* Horizontal rule */
.page-content hr {
    border: 0;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    margin: 2.5rem 0;
}

/* Mobile */
@media (max-width: 600px) {
    .page-content { font-size: 1rem; line-height: 1.7; }
    .page-content h2 { margin-top: 2.25rem; }
    .page-content h3 { margin-top: 1.75rem; }
    .page-content table th,
    .page-content table td { padding: 0.65rem 0.75rem; font-size: 0.9rem; }
}