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

html {
    overflow-x: hidden;
    width: 100%;
}

:root {
    --primary-color: #FFD700;
    --secondary-color: #000000;
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.main-content {
    position: relative;
    z-index: 1;
    display: block;
    min-height: calc(100vh - 80px);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Header Styles */
.header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    animation: slideDown 0.6s ease-out;
    height: 80px;
    display: flex;
    align-items: center;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    gap: 30px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.logo img {
    height: 50px;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-block;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

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

.btn-primary:hover {
    background: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

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

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: var(--transition);
    border-radius: 3px;
}

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

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

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

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #000000 0%, #1a0000 100%);
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

/* Hero with Banner */
.hero-with-banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 80px 0 0;
    position: relative;
    margin-bottom: 0;
    margin-top: 0;
    background-attachment: scroll;
    box-sizing: border-box;
}

.hero-with-banner::before {
    display: none;
    animation: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.hero-with-banner .container {
    position: relative;
    z-index: 2;
}

.hero-with-banner .hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

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

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8)); }
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Section Styles */
.section {
    padding: 80px 0;
    position: relative;
    background: var(--bg-dark);
    margin: 0;
    clear: both;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
}

/* Disable animations for sections marked no-anim (homepage Featured Games) */
.no-anim .section-header,
.no-anim .bonus-card,
.no-anim .game-card,
.no-anim .faq-item {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-description {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 30px auto 0;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 40px;
    width: 100%;
    box-sizing: border-box;
}

.game-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    cursor: default;
    position: relative;
    animation: fadeInScale 0.6s ease-out backwards;
}

.game-card:nth-child(1) { animation-delay: 0.1s; }
.game-card:nth-child(2) { animation-delay: 0.15s; }
.game-card:nth-child(3) { animation-delay: 0.2s; }
.game-card:nth-child(4) { animation-delay: 0.25s; }
.game-card:nth-child(5) { animation-delay: 0.3s; }
.game-card:nth-child(6) { animation-delay: 0.35s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 215, 0, 0.3) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
    pointer-events: none;
}

.game-card:hover::before {
    opacity: 1;
}

.game-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: var(--transition);
    max-width: 100%;
    height: auto;
}

.game-card:hover .game-image {
    transform: scale(1.1);
}

.game-info {
    padding: 15px;
    position: relative;
    z-index: 2;
}

.game-actions { display: none; }

.game-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: var(--transition);
    z-index: 10;
    pointer-events: none;
}

.game-card:hover .game-play-overlay {
    opacity: 1;
}

/* Make overlay background non-interactive but button always clickable */
.game-play-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: inherit;
    pointer-events: none;
    z-index: 1;
}

.game-play-overlay .btn {
    pointer-events: auto !important;
    z-index: 1000 !important;
    position: relative !important;
    cursor: pointer !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    transform: scale(0.9);
    transition: var(--transition);
    background: var(--primary-color) !important;
    color: var(--text-light) !important;
    text-decoration: none !important;
    isolation: isolate;
}

.game-card:hover .game-play-overlay .btn {
    transform: scale(1);
}

/* Force button to be above everything and clickable - override parent pointer-events */
.game-card .game-play-overlay {
    pointer-events: none;
}

.game-card .game-play-overlay .btn {
    pointer-events: auto !important;
    z-index: 9999 !important;
    cursor: pointer !important;
    isolation: isolate;
}

/* Play overlay is revealed only on hover; on touch devices it will appear on tap via JS in the future if needed */

.game-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-light);
}

.game-provider {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* Bonus Cards */
.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.bonus-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out backwards;
}

.bonus-card:nth-child(1) { animation-delay: 0.1s; }
.bonus-card:nth-child(2) { animation-delay: 0.2s; }
.bonus-card:nth-child(3) { animation-delay: 0.3s; }

.bonus-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(255, 215, 0, 0.3), transparent 30%);
    animation: rotate 4s linear infinite;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.bonus-card:hover::before {
    opacity: 1;
}

.bonus-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.2);
}

.bonus-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.bonus-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.bonus-description {
    color: var(--text-gray);
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.bonus-features {
    list-style: none;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.bonus-features li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-features li:last-child {
    border-bottom: none;
}

/* Ensure buttons in bonus cards are always clickable */
.bonus-card .btn {
    position: relative !important;
    z-index: 100 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    display: inline-block !important;
}

/* Ensure all interactive elements in cards are clickable */
.bonus-card a,
.bonus-card button {
    position: relative !important;
    z-index: 100 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Ensure all buttons and links site-wide are clickable */
a.btn,
button.btn,
.btn,
a[href],
button[type="button"],
button[type="submit"] {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative;
    z-index: 10;
}

/* Ensure provider cards are clickable */
.provider-card {
    pointer-events: auto;
}

.provider-card a,
.provider-card img {
    pointer-events: auto;
    position: relative;
    z-index: 2;
}

/* Ensure FAQ items are clickable */
.faq-item {
    pointer-events: auto;
}

.faq-question {
    pointer-events: auto;
    position: relative;
    z-index: 2;
}

.faq-answer a {
    pointer-events: auto;
    position: relative;
    z-index: 2;
}

/* Global fix: ensure all links and buttons are always clickable */
a[href],
button,
.btn,
input[type="submit"],
input[type="button"] {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Ensure cards don't block clicks on their children */
.bonus-card,
.game-card,
.provider-card,
.faq-item {
    pointer-events: auto;
}

/* But make sure pseudo-elements don't block clicks */
.bonus-card::before,
.game-card::before {
    pointer-events: none !important;
}

/* Only interactive elements should have pointer-events */
.bonus-card a,
.bonus-card button,
.bonus-card .btn,
.game-card a,
.game-card button,
.game-card .btn {
    pointer-events: auto !important;
    z-index: 100 !important;
    position: relative !important;
}

/* Content Pages */
.content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    z-index: 2;
}

.content-section h2 {
    font-size: 2rem;
    margin: 40px 0 20px;
    color: var(--primary-color);
}

.content-section h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--text-light);
}

.content-section p {
    margin-bottom: 20px;
    color: var(--text-gray);
    line-height: 1.8;
}

.content-section ul,
.content-section ol {
    margin: 20px 0;
    padding-left: 30px;
    color: var(--text-gray);
}

.content-section li {
    margin-bottom: 10px;
}

/* FAQ Styles */
.faq-item {
    background: var(--bg-card);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.1);
    animation: fadeInUp 0.6s ease-out backwards;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-color);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 25px 20px;
    color: var(--text-gray);
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 15px;
    max-width: 600px;
    margin: 40px auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

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

/* Footer */
.footer {
    background: var(--secondary-color);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    position: relative;
    z-index: 3;
    margin-top: 0;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.footer-section p {
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-logo {
    max-width: 150px;
    margin-top: 20px;
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-gray);
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 0.9rem;
    color: var(--text-gray);
    opacity: 0.8;
}

/* Providers Section */
.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.provider-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 215, 0, 0.1);
    cursor: pointer;
    animation: fadeInScale 0.6s ease-out backwards;
}

.provider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
    border-color: var(--primary-color);
}

.provider-card img {
    max-width: 100%;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.provider-card:hover img {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    /* Keep header always visible on mobile */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }

    /* Offset content under fixed header */
    .main-content {
        padding-top: 80px;
        min-height: calc(100vh - 80px);
    }

    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 40px 20px;
        transition: var(--transition);
        overflow-y: auto;
        box-sizing: border-box;
        z-index: 999;
    }

    .nav.active {
        left: 0;
    }

    .header-buttons {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-with-banner {
        background-attachment: scroll;
        min-height: calc(100vh - 80px);
        padding-top: 0; /* avoid double offset when header is fixed */
    }
    
    .hero-with-banner .hero-content {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
        word-break: break-word;
    }

    .hero p {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
        padding: 0;
    }

    .bonus-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bonus-card {
        padding: 30px 20px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 2rem;
        word-break: break-word;
    }

    .section-description {
        padding: 0 10px;
    }

    .contact-form {
        padding: 30px 20px;
        margin: 20px 10px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .hero {
        padding: 40px 0;
    }
    
    .hero-with-banner .hero-content {
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 5px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .game-card {
        min-width: 0;
    }

    .game-info {
        padding: 10px;
    }

    .game-title {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .game-provider {
        font-size: 0.8rem;
    }

    .logo img {
        height: 40px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .section-description {
        font-size: 1rem;
        padding: 0 5px;
    }

    .bonus-amount {
        font-size: 2.2rem;
    }

    .bonus-title {
        font-size: 1.3rem;
    }

    .bonus-card {
        padding: 25px 15px;
    }

    .contact-form {
        margin: 20px 5px;
        padding: 25px 15px;
    }

    .content-section {
        padding: 40px 10px;
    }

    .nav {
        padding: 30px 15px;
    }
}

/* Extra small screens */
@media (max-width: 320px) {
    .container {
        padding: 0 8px;
    }

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

    .games-grid {
        gap: 8px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .game-info {
        padding: 8px;
    }

    .game-title {
        font-size: 0.85rem;
    }
}

/* Ensure proper stacking context */
.header {
    will-change: transform;
}

.section {
    will-change: auto;
}

/* Fix any potential overlapping issues */
.section:first-of-type:not(.hero) {
    margin-top: 0;
    padding-top: 80px;
}

/* Hero sections should not have extra padding */
.hero {
    margin-top: 0;
}

/* Apply extra top padding only to non-banner heroes */
.hero:not(.hero-with-banner) {
    padding-top: 100px;
}

/* Ensure footer doesn't overlap */
body {
    scroll-behavior: smooth;
}

/* Offset in-page anchors for sticky header */
.section,
.hero {
    scroll-margin-top: 90px;
}

/* Additional mobile fixes */
@media (max-width: 968px) {
    .main-content {
        min-height: calc(100vh - 80px);
    }
    
    .section:first-of-type:not(.hero) {
        padding-top: 60px;
    }
    
    .hero {
        padding-top: 60px;
    }
}

