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

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

body {
    font-family: 'Inter', sans-serif;
    color: #F8F9FA;
    background: linear-gradient(to bottom, #114b82 0%, #0a2e50 20%, #030d1a 50%, #000000 85%);
    background-attachment: scroll;
    line-height: 1.6;
}

/* Underwater Ambient Caustics */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(32, 164, 243, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(32, 164, 243, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(6, 90, 150, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: causticsDrift 15s ease-in-out infinite alternate;
}

@keyframes causticsDrift {
    0% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0.7; transform: scale(0.98); }
}

/* Floating Bubble Particles */
.bubble-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.bubble {
    position: absolute;
    bottom: -20px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(32, 164, 243, 0.4), rgba(32, 164, 243, 0.1));
    border: 1px solid rgba(32, 164, 243, 0.3);
    animation: bubbleRise linear infinite;
}

@keyframes bubbleRise {
    0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-105vh) translateX(30px) scale(0.5); opacity: 0; }
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(3, 13, 26, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.brand-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.25)) drop-shadow(0 2px 10px rgba(0,0,0,0.8));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(32, 164, 243, 0.6));
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #F8F9FA;
    letter-spacing: 1px;
}

.logo span {
    color: #20a4f3;
}

.nav-right-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #a0aec0;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #20a4f3;
}

.cart-icon-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    color: #a0aec0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.cart-icon-container:hover {
    color: #20a4f3;
    transform: translate(-50%, -50%) scale(1.1);
}

.cart-icon-container svg {
    width: 75px;
    height: 75px;
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: -2px;
    background-color: #20a4f3;
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: #030d1a;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    opacity: 0;
    animation: fadeSlide 25s infinite;
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }
.slide:nth-child(4) { animation-delay: 15s; }
.slide:nth-child(5) { animation-delay: 20s; }

@keyframes fadeSlide {
    0% { opacity: 0; transform: scale(1); }
    10% { opacity: 1; transform: scale(1.02); }
    20% { opacity: 1; transform: scale(1.05); }
    30% { opacity: 0; transform: scale(1.08); }
    100% { opacity: 0; transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(3, 13, 26, 0.7) 0%, rgba(32, 164, 243, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #20a4f3;
    color: white;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(32, 164, 243, 0.4);
    cursor: pointer;
    border: none;
}

.cta-button:hover {
    background-color: #188ddd;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(32, 164, 243, 0.6);
}

/* Catalog Section */
.catalog-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 3rem;
    color: #F8F9FA;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #a0aec0;
    font-size: 1.1rem;
}

/* Split Catalog Layout */
.catalog-split {
    display: flex;
    gap: 4rem;
    align-items: flex-start; /* Keeps the start aligned */
}

.catalog-category {
    flex: 1;
    min-width: 0;
}

.category-label {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #F8F9FA;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
    height: 60px; /* Fixed height for absolute alignment */
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #20a4f3;
    border-radius: 2px;
}

.catalog-divider {
    display: none;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column per category */
    gap: 2rem;
}

/* Product Card */
.product-card {
    background: #061325;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(-40px); /* Changed to drop down based on feedback */
    display: flex;
    flex-direction: column;
    height: clamp(340px, 30vw, 500px); /* Responsive height based on screen size */
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card.visible:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.product-image {
    width: 100%;
    height: clamp(240px, 22vw, 380px); /* Responsive image height */
    object-fit: contain; /* Show the entire shirt */
    background-color: #030d1a;
    transition: transform 0.5s ease;
}

.product-card.visible:hover .product-image {
    transform: scale(1.05);
}

.product-image-container {
    overflow: hidden;
    flex-shrink: 0;
}

.product-info {
    padding: 0.75rem 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
}

.product-card .product-title {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    font-family: 'Outfit', sans-serif;
    color: #F8F9FA;
}

.product-card .product-price {
    font-size: 1.05rem;
    font-weight: 800;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #F8F9FA;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #20a4f3;
}

.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 1.2rem;
    color: #a0aec0;
    padding: 3rem;
}

/* About Page */
.about-page {
    padding: 8rem 2rem 3rem;
    min-height: calc(100vh - 200px);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #030d1a;
}

.about-container {
    background: #061325;
    max-width: 800px;
    padding: 4rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    line-height: 1.8;
    color: #cbd5e0;
    font-size: 1.1rem;
}

.about-container h1 {
    color: #F8F9FA;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Dedicated Product Page */
.dedicated-product-page {
    padding: 7rem 2rem 3rem;
    min-height: calc(100vh - 200px);
    background-color: #030d1a;
    display: flex;
    justify-content: center;
}

.dedicated-product-container {
    background: #061325;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    display: flex;
    overflow: hidden;
    gap: 1.5rem;
}

.dedicated-image-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.main-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.main-image-wrapper img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.thumbnail-gallery {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid #1a365d;
    overflow-x: auto;
    margin-top: 1rem;
}

.thumb-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    background: #ffffff;
    border: 2px solid #1a365d;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
}

.thumb-img.active, .thumb-img:hover {
    border-color: #20a4f3;
    transform: translateY(-2px);
}

.dedicated-info-col {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.dedicated-info-col h1 {
    color: #F8F9FA;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.dedicated-info-col .price {
    font-size: 1.8rem;
    color: #20a4f3;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.dedicated-info-col .desc {
    color: #cbd5e0;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* Modal UI */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-content {
    background: #061325;
    width: 90%;
    max-width: 900px;
    border-radius: 16px;
    display: flex;
    overflow: hidden;
    position: relative;
    transform: scale(0.95);
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #a0aec0;
    cursor: pointer;
    z-index: 10;
}

.modal-close:hover {
    color: white;
}

.modal-image-container {
    flex: 1;
    background: #030d1a;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details {
    flex: 1;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
}

.modal-title {
    font-size: 2rem;
    color: #F8F9FA;
    margin-bottom: 0.5rem;
}

.modal-price {
    font-size: 1.6rem;
    color: #20a4f3;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.modal-desc {
    color: #cbd5e0;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.selectors {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.select-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.select-group label {
    font-size: 0.85rem;
    color: #a0aec0;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Swatches and Pills */
.pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.size-pill {
    padding: 0.5rem 1rem;
    background: #030d1a;
    border: 1px solid #1a365d;
    color: #cbd5e0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    user-select: none;
}

.size-pill:hover {
    border-color: #20a4f3;
    color: white;
}

.size-pill.active {
    background: #20a4f3;
    border-color: #20a4f3;
    color: white;
}

.color-swatch {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #1a365d;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.color-swatch:hover {
    transform: scale(1.1);
}

.color-swatch.active {
    border: 2px solid #20a4f3;
    transform: scale(1.15);
    box-shadow: 0 0 10px rgba(32, 164, 243, 0.6);
}

/* Cart UI */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: #061325;
    box-shadow: -5px 0 30px rgba(0,0,0,0.5);
    z-index: 3000;
    transition: right 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    right: 0;
}

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

.cart-header h2 {
    color: white;
    font-size: 1.5rem;
}

.cart-close {
    font-size: 2rem;
    color: #a0aec0;
    cursor: pointer;
}

.cart-close:hover { color: white; }

.cart-items {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    background: #030d1a;
    padding: 1rem;
    border-radius: 8px;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.cart-item-variant {
    color: #a0aec0;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: #20a4f3;
    font-weight: bold;
}

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

.cart-total {
    display: flex;
    justify-content: space-between;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.checkout-btn {
    width: 100%;
    text-align: center;
}

/* Footer */
footer {
    background: transparent;
    border-top: none;
    color: white;
    text-align: center;
    padding: 4rem 2rem 2rem;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.social-links a {
    color: #a0aec0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.social-links a svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
}

.social-links a:hover {
    color: #ffffff;
}

.social-links a:hover svg {
    transform: translateY(-4px) scale(1.1);
    filter: drop-shadow(0 8px 12px rgba(32, 164, 243, 0.5));
}

footer p {
    color: #4a5568;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    margin-top: 1rem;
}

/* Animations */
.fade-in {
    animation: fadeInDown 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    opacity: 0;
    transform: translateY(-20px);
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Alert Notification */
.alert-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #20a4f3;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(32, 164, 243, 0.4);
    z-index: 4000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.alert-toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ===== Fishing Hook Cursor System ===== */

/* Hide default cursor over catalog area on desktop */
@media (hover: hover) and (pointer: fine) {
    .catalog-section { cursor: none; }
    .catalog-section .product-card { cursor: none; }
}

/* The fishing line — thin thread from top of viewport to hook */
.fishing-line {
    position: fixed;
    top: 0;
    left: 50%;
    transform-origin: top center;
    width: 2px;
    background: linear-gradient(to bottom, rgba(32, 164, 243, 0.1) 0%, rgba(226, 232, 240, 0.6) 100%);
    pointer-events: none;
    z-index: 9998;
}

/* Custom Hook Cursor (Desktop) */
.fishing-hook-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -5px) rotate(var(--hook-angle, 0deg));
    transform-origin: 50% 5px;
    filter: drop-shadow(1px 2px 2px rgba(0,0,0,0.5)) drop-shadow(0 0 4px rgba(255,255,255,0.4));
    will-change: transform;
}

/* Hook "jiggle" when hovering over a product card */
.fishing-hook-cursor.over-card {
    animation: hookJiggle 0.4s ease-in-out infinite;
    filter: drop-shadow(0 2px 8px rgba(32, 164, 243, 0.8)) drop-shadow(0 0 6px rgba(255,255,255,0.6));
}

@keyframes hookJiggle {
    0%, 100% { transform: translate(-50%, -5px) rotate(calc(var(--hook-angle, 0deg) + 0deg)); }
    25% { transform: translate(-50%, -5px) rotate(calc(var(--hook-angle, 0deg) + 12deg)); }
    75% { transform: translate(-50%, -5px) rotate(calc(var(--hook-angle, 0deg) - 12deg)); }
}

/* Card Attached Hook & Line */
.card-hook {
    position: absolute;
    transform: translate(-50%, -5px) rotate(var(--hook-angle, 0deg));
    transform-origin: 50% 5px;
    z-index: 10;
    pointer-events: none;
    filter: drop-shadow(1px 2px 2px rgba(0,0,0,0.5)) drop-shadow(0 0 4px rgba(255,255,255,0.4));
}

.card-line {
    position: absolute;
    width: 2px;
    height: 200vh;
    background: linear-gradient(to top, rgba(226, 232, 240, 0.8), rgba(160, 174, 192, 0.1));
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 9;
}

/* The Catch & Struggle Animation */
.product-card.hooked-struggle {
    animation: hookedStruggle 2.0s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
    pointer-events: none;
    z-index: 9999;
    position: relative;
    will-change: transform, filter, opacity;
}

@keyframes hookedStruggle {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); filter: brightness(1); }
    5% { transform: translate(-8px, 20px) scale(1.05) rotate(-4deg); filter: brightness(1.2); box-shadow: 0 15px 40px rgba(32, 164, 243, 0.5); }
    10% { transform: translate(8px, 10px) scale(1.05) rotate(5deg); filter: brightness(1.2); }
    15% { transform: translate(-10px, 25px) scale(1.05) rotate(-5deg); filter: brightness(1.2); }
    20% { transform: translate(8px, 12px) scale(1.05) rotate(4deg); filter: brightness(1.2); }
    25% { transform: translate(0, 20px) scale(1.02) rotate(0deg); filter: brightness(1.1); }
    100% { transform: translate(var(--fly-x, 0px), var(--fly-y, -150vh)) scale(0.0) rotate(0deg); opacity: 0; filter: brightness(1); }
}

/* Dynamic reeling line for dragging the product */
.catch-line {
    position: fixed;
    left: 50%;
    top: 0;
    transform-origin: top center;
    width: 2px;
    background: #e2e8f0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
}

/* Mobile decorative fishing line down center */
.mobile-fishing-line {
    display: none;
}

@media (max-width: 768px) {
    .mobile-fishing-line {
        display: block;
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        top: 0;
        transform-origin: top center;
        width: 1.5px;
        height: 80vh;
        background: linear-gradient(to bottom,
            transparent 0%,
            rgba(32, 164, 243, 0.08) 10%,
            rgba(32, 164, 243, 0.2) 50%,
            rgba(226, 232, 240, 0.4) 95%,
            transparent 100%);
        pointer-events: none;
        z-index: 5;
    }
    .mobile-fishing-line::after {
        content: '';
        position: absolute;
        bottom: -25px;
        left: 50%;
        transform: translateX(-50%);
        width: 32px;
        height: 48px;
        background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 140 180" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="70" cy="20" r="10" stroke="%23cbd5e0" stroke-width="8"/><path d="M70 30 V 130" stroke="%23cbd5e0" stroke-width="10" stroke-linecap="round"/><path d="M70 130 C 70 180, 125 180, 125 130 V 90" stroke="%23cbd5e0" stroke-width="10" stroke-linecap="round"/><path d="M125 90 L 105 110" stroke="%23cbd5e0" stroke-width="8" stroke-linecap="round"/><path d="M117 90 L 125 70 L 133 90 Z" fill="%23cbd5e0"/></svg>') no-repeat top center;
        background-size: contain;
        animation: mobileHookSway 3s ease-in-out infinite;
        transform-origin: top center;
    }
    .mobile-fishing-line.swinging::after {
        animation: none;
        transform: translateX(-50%) rotate(0deg);
    }
}

@keyframes mobileHookSway {
    0%, 100% { transform: translateX(-50%) rotate(0deg); }
    50% { transform: translateX(-50%) rotate(6deg); }
}

/* Page transition overlay — water ripple */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--ripple-x, 50%) var(--ripple-y, 50%), 
        rgba(32, 164, 243, 0.2) 0%, 
        rgba(3, 13, 26, 0.97) 50%);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.page-transition-overlay.active {
    opacity: 1;
}

/* Social Media Bubble Transition */
.bubble-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    pointer-events: none;
    background: #020813;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.transition-bubble {
    position: absolute;
    bottom: -150px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), rgba(32,164,243,0.6));
    border-radius: 50%;
    animation: transitionRiseUp cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
    will-change: transform;
}

@keyframes transitionRiseUp {
    0% { transform: translateY(0) scale(0.8); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-130vh) scale(1.8); opacity: 0; }
}

/* Responsive */
@media (max-width: 900px) {
    .about-page, .dedicated-product-page { padding: 5rem 0.5rem 1rem; }
    .hero-content h1 { font-size: 3rem; line-height: 1.1; margin-bottom: 1rem; }
    
    /* Ultra-clean Mobile Navbar: Absolute Center Matrix */
    .navbar { 
        padding: 0.5rem 1rem; 
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        position: fixed;
        width: 100%;
        height: 60px;
        gap: 0;
    }
    
    .cart-icon-container {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        pointer-events: auto;
        z-index: 99999 !important;
        display: block !important;
        color: #ffffff !important;
    }
    .cart-icon-container svg { width: 32px; height: 32px; }
    .cart-badge { width: 17px; height: 17px; font-size: 0.6rem; top: -3px; right: -8px; }

    .nav-right-container { 
        position: static;
        pointer-events: none;
        display: block;
    }
    
    .nav-links {
        pointer-events: auto;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background: rgba(3, 13, 26, 0.98);
        backdrop-filter: blur(15px);
        border-top: none;
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 1000;
        padding: 0;
        margin: 0;
    }
    
    .nav-links li { 
        list-style: none; 
        flex: 1; 
        display: flex; 
        justify-content: center;
        align-items: center;
        height: 100%;
        margin: 0 !important;
    }
    
    .nav-links a { 
        font-size: 0.8rem; 
        font-weight: 700; 
        text-transform: uppercase; 
        letter-spacing: 0.5px;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .navbar > a {
        display: block; 
        position: absolute;
        left: 1.25rem;
        top: 50%;
        transform: translateY(-50%);
        right: auto;
        margin: 0;
    }
    .brand-logo { height: 38px; }
    
    .about-page, .dedicated-product-page { padding: 5rem 0.5rem 1rem; }
    
    .hero-content h1 { font-size: 3rem; line-height: 1.1; margin-bottom: 1rem; }
    
    /* Mobile Split Catalog — side-by-side like desktop */
    .catalog-section { padding: 2rem 0.5rem; }
    .catalog-split { 
        flex-direction: row; 
        gap: 2rem; 
    }
    .catalog-divider {
        width: 2px;
        min-height: 300px;
    }
    .category-label { font-size: 0.9rem; letter-spacing: 1px; margin-bottom: 0.75rem; padding-bottom: 0.5rem; }
    .category-label::after { width: 30px; height: 2px; }
    .product-grid { 
        grid-template-columns: 1fr; 
        gap: 0.75rem; 
    }
    .product-card { height: 240px; }
    .product-image { height: 160px; }
    .product-info { padding: 0.4rem; }
    .product-card .product-title { font-size: 0.85rem; line-height: 1.2; margin-bottom: 0.2rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal;}
    
    .hero {
        min-height: 100dvh; /* Full screen on mobile */
        background-attachment: scroll; /* Fixes massive image shift jitter on mobile Safari */
        box-sizing: border-box;
    }
    .hero-content h1 {
        font-size: 2.2rem; /* Make mobile text slightly smaller so it takes less vertical space */
        line-height: 1.1;
        margin-bottom: 0.5rem;
    }
    .product-price { font-size: 0.9rem; font-weight: 700; }
    
    .modal-content {flex-direction: column; height: 90vh; overflow-y: auto;}
    .modal-image-container { height: 350px; flex: none; }
    .cart-drawer { width: 100%; right: -100%; }
    
    .dedicated-product-container { flex-direction: column; gap: 0.5rem; background: transparent; box-shadow: none; }
    .dedicated-image-col { padding: 0.5rem; }
    .main-image-wrapper img { max-height: 400px; padding: 0.5rem; }
    
    /* Product Info Adjustments */
    .dedicated-info-col { padding: 1.5rem 1rem; }
    .dedicated-info-col h1 { font-size: 2.2rem; font-weight: 800; line-height: 1.2; margin-bottom: 0.5rem; }
    .dedicated-info-col .price { font-size: 1.5rem; font-weight: 600; }
    
    .selectors { flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
    .select-group label { font-size: 0.9rem; margin-bottom: 0.75rem; }
    .pills-container { gap: 0.8rem; }
    
    .color-swatch { width: 45px; height: 45px; } /* Larger touch targets */
    .size-pill { padding: 0.8rem 1.5rem; font-size: 1rem; }
    
    /* Footer Mobile Adjustments */
    footer { padding: 2.5rem 1rem 5.5rem; } /* Extra padding for bottom nav */
    
    .social-links { 
        flex-direction: row; 
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 1.5rem; 
    }
    .social-links a svg {
        width: 24px;
        height: 24px;
    }
    .footer-content { gap: 1.5rem; }
    
    .about-container { padding: 2rem; }
    .about-container h1 { font-size: 2rem; }
}
