/* ===================================
   THE CADDY SHACK - Main Stylesheet
   Colors: #feeac9 (cream) & #083457 (navy)
   =================================== */

/* CSS Variables */
:root {
    --primary-cream: #feeac9;
    --primary-navy: #083457;
    --accent-gold: #d4a853;
    --accent-green: #2d5a3d;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #6b7280;
    --bg-light: #f9fafb;
    --bg-dark: #0a0a0a;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--primary-cream);
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===================================
   TOP BANNER
   =================================== */
.top-banner {
    background: var(--primary-navy);
    color: var(--primary-cream);
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.top-banner p {
    margin: 0;
    animation: pulse 2s ease-in-out infinite;
}

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

/* Coming Soon Banner */
.coming-soon-banner {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 1rem;
    text-align: center;
}

.coming-soon-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.coming-soon-banner i {
    font-size: 1.25rem;
}

.coming-soon-banner span {
    font-size: 0.95rem;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    background: var(--primary-cream);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

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

.logo img {
    height: 60px;
    width: auto;
    transition: transform var(--transition-normal);
}

.logo:hover img {
    transform: scale(1.05) rotate(-5deg);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: var(--primary-navy);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    background: var(--primary-navy);
    color: var(--primary-cream);
}

.nav-menu > li > a i {
    font-size: 0.75rem;
    transition: transform var(--transition-fast);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--text-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    padding: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--primary-navy);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.dropdown-menu li a:hover {
    background: var(--primary-cream);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-btn,
.cart-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    color: var(--primary-navy);
    transition: all var(--transition-fast);
    font-size: 1.125rem;
}

.search-btn:hover,
.cart-btn:hover {
    background: var(--primary-navy);
    color: var(--primary-cream);
}

.cart-btn {
    position: relative;
}

/* Clubhouse Button */
.clubhouse-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-navy), #0a4a7a);
    color: var(--primary-cream);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.clubhouse-btn:hover {
    background: linear-gradient(135deg, #0a4a7a, var(--primary-navy));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(8, 52, 87, 0.35);
    color: var(--primary-cream);
}

.clubhouse-btn i {
    font-size: 0.9rem;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: var(--error);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-navy);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #0a4a7a 50%, var(--primary-navy) 100%);
    min-height: 90vh;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

.hero-text {
    color: var(--primary-cream);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

.title-line.accent {
    color: var(--accent-gold);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-cream);
    color: var(--primary-navy);
}

.btn-primary:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--primary-cream);
    color: var(--primary-navy);
    transform: translateY(-2px);
}

.btn-add-cart {
    width: 100%;
    background: var(--primary-navy);
    color: var(--primary-cream);
    padding: 0.75rem 1.5rem;
}

.btn-add-cart:hover {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Social Proof */
.social-proof {
    display: flex;
    gap: 2.5rem;
}

.social-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--accent-gold);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-logo {
    width: 100%;
    max-width: 450px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(2deg); }
    75% { transform: translateY(-10px) rotate(-2deg); }
}

.hero-decoration {
    position: absolute;
    border-radius: var(--radius-full);
    opacity: 0.1;
}

.decoration-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-cream);
    top: -50px;
    right: -50px;
    animation: pulse-slow 4s ease-in-out infinite;
}

.decoration-2 {
    width: 200px;
    height: 200px;
    background: var(--accent-gold);
    bottom: 50px;
    left: -30px;
    animation: pulse-slow 4s ease-in-out infinite 1s;
}

.decoration-3 {
    width: 100px;
    height: 100px;
    background: var(--primary-cream);
    top: 50%;
    right: 20%;
    animation: pulse-slow 4s ease-in-out infinite 2s;
}

@keyframes pulse-slow {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.15; }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 120px;
}

/* ===================================
   SECTION STYLES
   =================================== */
section {
    padding: 5rem 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header.centered {
    flex-direction: column;
    text-align: center;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--primary-navy);
    letter-spacing: 1px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-navy);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.view-all-link:hover {
    color: var(--accent-gold);
    gap: 0.75rem;
}

/* ===================================
   MEME CAROUSEL
   =================================== */
.featured-memes {
    background: var(--primary-cream);
}

/* Instagram Embed Grid */
.instagram-embed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 1024px) {
    .instagram-embed-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .instagram-embed-grid {
        grid-template-columns: 1fr;
    }
}

.instagram-embed-container {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
}

.instagram-embed-container .instagram-media {
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

.instagram-loading {
    text-align: center;
    padding: 3rem;
    color: var(--primary-navy);
}

.instagram-loading i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.5;
}

.instagram-loading p {
    color: var(--text-muted);
}

.meme-card.instagram-link {
    text-decoration: none;
    cursor: pointer;
}

.meme-card.instagram-link:hover {
    transform: translateY(-8px);
}

.meme-card.instagram-link .meme-placeholder {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.meme-card.instagram-link .meme-placeholder i {
    color: white;
    opacity: 0.9;
}

.meme-card.instagram-link .meme-placeholder span {
    color: white;
}

.instagram-cta-section {
    text-align: center;
    padding: 1rem 0;
}

.meme-carousel {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.meme-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.meme-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.meme-image {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-navy), #0a4a7a);
}

.meme-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--primary-cream);
    padding: 2rem;
    text-align: center;
}

.meme-placeholder i {
    font-size: 3rem;
    opacity: 0.8;
}

.meme-placeholder span {
    font-weight: 500;
}

.meme-info {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.meme-category {
    background: var(--primary-cream);
    color: var(--primary-navy);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.meme-stats {
    display: flex;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.meme-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--primary-navy);
    color: var(--primary-cream);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-lg);
}

.carousel-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

/* ===================================
   PRODUCTS GRID
   =================================== */
.featured-products {
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--primary-cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    transition: all var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-navy);
    color: var(--primary-cream);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 5;
}

.product-badge.new {
    background: var(--success);
}

.product-badge.sale {
    background: var(--error);
}

.product-image {
    aspect-ratio: 1;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-placeholder {
    font-size: 4rem;
    color: var(--primary-navy);
    opacity: 0.3;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 0.25rem;
}

.product-description {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.original-price {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* ===================================
   NEWS GRID
   =================================== */
.news-preview {
    background: var(--primary-cream);
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.news-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    transition: all var(--transition-normal);
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.news-card.featured {
    grid-column: 1;
    grid-row: 1 / span 3;
    flex-direction: column;
}

.news-card.featured .news-image {
    height: 250px;
}

.news-card:not(.featured) {
    flex-direction: row;
}

.news-card:not(.featured) .news-image {
    width: 120px;
    flex-shrink: 0;
}

.news-image {
    background: linear-gradient(135deg, var(--primary-navy), #0a4a7a);
}

.news-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cream);
    font-size: 3rem;
    opacity: 0.5;
}

.news-placeholder.small {
    font-size: 2rem;
}

.news-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.news-category {
    display: inline-block;
    background: var(--primary-cream);
    color: var(--primary-navy);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.news-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.news-card.featured .news-title {
    font-size: 1.5rem;
}

.news-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ===================================
   INSTAGRAM GRID
   =================================== */
.instagram-preview {
    background: white;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.instagram-item {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-navy), #0a4a7a);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.instagram-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cream);
    font-size: 2rem;
    opacity: 0.3;
}

.instagram-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 52, 87, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: white;
    font-size: 0.875rem;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

.instagram-overlay span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.instagram-cta {
    text-align: center;
}

/* ===================================
   NEWSLETTER
   =================================== */
.newsletter {
    background: var(--primary-navy);
    padding: 4rem 0;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.newsletter-text {
    color: var(--primary-cream);
    max-width: 500px;
}

.newsletter-text h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.newsletter-text p {
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-family: inherit;
}

.newsletter-form input:focus {
    outline: 3px solid var(--accent-gold);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 80px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary-cream);
    color: var(--primary-navy);
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    color: var(--primary-cream);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* ===================================
   SEARCH MODAL
   =================================== */
.search-modal {
    position: fixed;
    inset: 0;
    background: rgba(8, 52, 87, 0.95);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-content {
    width: 100%;
    max-width: 600px;
    padding: 2rem;
}

.close-search {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-cream);
    border-radius: var(--radius-full);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.close-search:hover {
    background: var(--primary-cream);
    color: var(--primary-navy);
}

.search-form {
    display: flex;
    background: white;
    border-radius: var(--radius-full);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.search-form input {
    flex: 1;
    padding: 1.25rem 1.5rem;
    border: none;
    font-size: 1.125rem;
    font-family: inherit;
}

.search-form input:focus {
    outline: none;
}

.search-form button {
    padding: 1.25rem 1.5rem;
    background: var(--primary-navy);
    color: var(--primary-cream);
    font-size: 1.25rem;
}

.search-suggestions {
    margin-top: 2rem;
    color: var(--primary-cream);
}

.search-suggestions h4 {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.suggestion-tags a {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.suggestion-tags a:hover {
    background: var(--primary-cream);
    color: var(--primary-navy);
}

/* ===================================
   CART SIDEBAR
   =================================== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: white;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-xl);
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.cart-header h3 {
    font-size: 1.25rem;
    color: var(--primary-navy);
}

.close-cart {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.close-cart:hover {
    background: var(--primary-cream);
    color: var(--primary-navy);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.empty-cart {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.empty-cart i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.empty-cart p {
    margin-bottom: 1.5rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.btn-checkout {
    width: 100%;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text {
        order: 1;
    }

    .hero-image {
        order: 0;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .social-proof {
        justify-content: center;
    }

    .floating-logo {
        max-width: 300px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card.featured {
        grid-column: 1;
        grid-row: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--primary-cream);
        flex-direction: column;
        justify-content: center;
        gap: 0;
        transform: translateX(-100%);
        transition: transform var(--transition-normal);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu > li > a {
        font-size: 1.25rem;
        padding: 1rem 2rem;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .clubhouse-btn span {
        display: none;
    }

    .clubhouse-btn {
        width: 44px;
        height: 44px;
        padding: 0;
        justify-content: center;
        border-radius: var(--radius-full);
    }

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

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

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

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding-left: 1rem;
    }

    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        max-width: none;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .social-proof {
        flex-direction: column;
        gap: 1.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================
   PAGE-SPECIFIC STYLES
   =================================== */

/* Page Header */
.page-header {
    background: var(--primary-navy);
    padding: 4rem 0;
    text-align: center;
    color: var(--primary-cream);
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Filter Bar */
.filter-bar {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-group label {
    font-weight: 500;
    color: var(--primary-navy);
}

.filter-group select,
.filter-group input {
    padding: 0.5rem 1rem;
    border: 2px solid #eee;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color var(--transition-fast);
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--primary-navy);
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-tag {
    padding: 0.5rem 1rem;
    background: var(--primary-cream);
    color: var(--primary-navy);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.filter-tag:hover,
.filter-tag.active {
    background: var(--primary-navy);
    color: var(--primary-cream);
}

/* Grid Layouts */
.meme-grid,
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Coming Soon Badge */
.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-gold);
    color: var(--primary-navy);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Tool Cards */
.tool-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.tool-card.coming-soon {
    opacity: 0.7;
}

.tool-card.coming-soon::after {
    content: 'Coming Soon';
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--accent-gold);
    color: var(--primary-navy);
    padding: 0.25rem 3rem;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.tool-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-cream);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-navy);
}

.tool-card h3 {
    font-size: 1.25rem;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.tool-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Game Cards */
.game-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.game-header {
    background: var(--primary-navy);
    color: var(--primary-cream);
    padding: 1.5rem;
    text-align: center;
}

.game-header i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.game-header h3 {
    font-size: 1.25rem;
}

.game-body {
    padding: 1.5rem;
}

.game-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #eee;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-navy);
}

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

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: var(--primary-navy);
    color: var(--primary-cream);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-item p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* FAQ Accordion */
.faq-item {
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    color: var(--primary-navy);
    text-align: left;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: var(--primary-cream);
}

.faq-question i {
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
