/* 
=========================================================
   ADVANCED CUSTOM CSS
   Theme: RED PALETTE (Modern, Unique, High-Fidelity)
=========================================================
*/

/* --- 1. CSS VARIABLES --- */
:root {
    /* Pure Red Palette & Variations */
    --red-25:  #fffafa;
    --red-50:  #fef2f2;
    --red-100: #fee2e2;
    --red-200: #fecaca;
    --red-300: #fca5a5;
    --red-400: #f87171;
    --red-500: #ef4444;
    --red-600: #dc2626;
    --red-700: #b91c1c;
    --red-800: #991b1b;
    --red-900: #7f1d1d;
    --red-950: #450a0a;

    /* Neutrals matching red warmth */
    --gray-50:  #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;

    /* Stars / Accents */
    --star-color: #ef4444; /* matching the red palette constraint */

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Box Shadows */
    --shadow-soft: 0 4px 20px rgba(220, 38, 38, 0.05);
    --shadow-medium: 0 10px 30px rgba(220, 38, 38, 0.08);
    --shadow-heavy: 0 20px 40px rgba(220, 38, 38, 0.12), 0 8px 16px rgba(0,0,0,0.04);
    --shadow-glow: 0 0 30px rgba(239, 68, 68, 0.3), 0 0 10px rgba(239, 68, 68, 0.1);
    --shadow-button: 0 10px 25px -5px rgba(220, 38, 38, 0.4), 0 8px 10px -6px rgba(220, 38, 38, 0.3);
    --shadow-button-hover: 0 15px 35px -5px rgba(220, 38, 38, 0.5), 0 10px 15px -5px rgba(220, 38, 38, 0.4);
    --shadow-inner: inset 0 2px 4px rgba(0,0,0,0.02);

    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--red-500) 0%, var(--red-700) 100%);
    --grad-light: linear-gradient(135deg, var(--red-50) 0%, #ffffff 100%);
    --grad-glass: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    --grad-border: linear-gradient(135deg, var(--red-200) 0%, rgba(255,255,255,0) 100%);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --trans-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- 2. GLOBAL RESETS & BASE --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.theme-red {
    font-family: var(--font-sans);
    background-color: var(--red-25);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
    background-color: var(--red-200);
    color: var(--red-900);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--red-50);
}
::-webkit-scrollbar-thumb {
    background: var(--red-300);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--red-400);
}

/* --- 3. BACKGROUND DECORATIONS --- */
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
    animation: floatBlob 20s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--red-100) 0%, transparent 70%);
}

.blob-2 {
    top: 40%;
    right: -15%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--red-50) 0%, transparent 70%);
    animation-delay: -5s;
}

.blob-3 {
    bottom: -5%;
    left: 20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--red-100) 0%, transparent 70%);
    animation-delay: -10s;
}

/* --- 4. HEADER --- */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(239, 68, 68, 0.15);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: var(--trans-normal);
}

.header-container {
    max-w-7xl;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--red-700);
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.logo-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    background: var(--grad-primary);
    border-radius: 8px;
    position: relative;
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.3);
}

.logo-icon::after {
    content: '';
    position: absolute;
    inset: 4px;
    border: 2px solid rgba(255,255,255,0.9);
    border-radius: 4px;
    transform: rotate(45deg);
}

.header-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .header-title { display: block; }
}

.header-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--red-50);
    color: var(--red-700);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid var(--red-100);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background-color: var(--red-500);
    border-radius: 50%;
    position: relative;
}

.badge-pulse::after {
    content: '';
    position: absolute;
    inset: -4px;
    background-color: var(--red-400);
    border-radius: 50%;
    opacity: 0.4;
    animation: pulse 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- 5. MAIN CONTENT LAYOUT --- */
.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

/* --- 6. PRODUCT HERO SECTION --- */
.product-section {
    position: relative;
    width: 100%;
}

.product-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-heavy);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10;
}

.card-border-glow {
    position: absolute;
    inset: -2px;
    background: var(--grad-primary);
    border-radius: calc(var(--radius-xl) + 2px);
    z-index: -2;
    opacity: 0.15;
    filter: blur(10px);
    transition: var(--trans-slow);
}

.product-card:hover .card-border-glow {
    opacity: 0.3;
    filter: blur(15px);
}

.card-inner-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, #ffffff, var(--red-50));
    border-radius: var(--radius-xl);
    z-index: -1;
    border: 1px solid rgba(255,255,255,0.8);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: 1fr 1.1fr;
        gap: 4rem;
        align-items: start;
    }
}

/* --- 7. GALLERY (CSS-ONLY) --- */
.gallery-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.gallery-decorator-1 {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: var(--red-100);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: -1;
    opacity: 0.5;
}

.gallery-decorator-2 {
    position: absolute;
    bottom: 20%;
    right: -20px;
    width: 150px;
    height: 150px;
    border: 2px dashed var(--red-200);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 30s linear infinite;
}

.gallery-radio {
    display: none;
}

.gallery-viewer {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--red-50);
}

.gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.05);
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 40%, rgba(0,0,0,0.03) 100%);
    pointer-events: none;
}

/* Magic Gallery Logic */
#img-1:checked ~ .gallery-viewer .slide-1,
#img-2:checked ~ .gallery-viewer .slide-2,
#img-3:checked ~ .gallery-viewer .slide-3,
#img-4:checked ~ .gallery-viewer .slide-4 {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
    z-index: 5;
}

.gallery-thumbnails {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .gallery-container {
        flex-direction: row-reverse;
    }
    .gallery-thumbnails {
        flex-direction: column;
        justify-content: flex-start;
    }
}

.thumb-label {
    cursor: pointer;
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    transition: var(--trans-bounce);
}

.thumb-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 2px solid transparent;
    transition: var(--trans-fast);
}

.thumb-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: var(--trans-fast);
}

.thumb-active-ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--red-600);
    border-radius: inherit;
    opacity: 0;
    transform: scale(1.1);
    transition: var(--trans-bounce);
}

.thumb-label:hover .thumb-inner {
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(220, 38, 38, 0.15);
}

.thumb-label:hover .thumb-inner img {
    opacity: 1;
}

/* Thumbnail Active State Logic */
#img-1:checked ~ .gallery-thumbnails .thumb-1 .thumb-inner,
#img-2:checked ~ .gallery-thumbnails .thumb-2 .thumb-inner,
#img-3:checked ~ .gallery-thumbnails .thumb-3 .thumb-inner,
#img-4:checked ~ .gallery-thumbnails .thumb-4 .thumb-inner {
    border-color: var(--red-500);
}

#img-1:checked ~ .gallery-thumbnails .thumb-1 .thumb-inner img,
#img-2:checked ~ .gallery-thumbnails .thumb-2 .thumb-inner img,
#img-3:checked ~ .gallery-thumbnails .thumb-3 .thumb-inner img,
#img-4:checked ~ .gallery-thumbnails .thumb-4 .thumb-inner img {
    opacity: 1;
}

#img-1:checked ~ .gallery-thumbnails .thumb-1 .thumb-active-ring,
#img-2:checked ~ .gallery-thumbnails .thumb-2 .thumb-active-ring,
#img-3:checked ~ .gallery-thumbnails .thumb-3 .thumb-active-ring,
#img-4:checked ~ .gallery-thumbnails .thumb-4 .thumb-active-ring {
    opacity: 1;
    transform: scale(1);
}

/* --- 8. PRODUCT DESCRIPTION --- */
.product-info {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.info-badge-wrap {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.info-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: var(--red-100);
    color: var(--red-800);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
}

.info-badge.outline {
    background: transparent;
    border: 1px solid var(--red-300);
    color: var(--red-600);
}

.product-name {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--gray-900);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    position: relative;
    display: inline-block;
}

.product-name::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 80px;
    height: 6px;
    background: var(--grad-primary);
    border-radius: 3px;
    transition: width var(--trans-slow);
}

.product-card:hover .product-name::after {
    width: 120px;
}

.product-divider {
    height: 1px;
    background: linear-gradient(to right, var(--red-200), transparent);
    margin: 2rem 0;
}

.desc-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--red-900);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.desc-heading::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background: var(--red-500);
    border-radius: 3px;
    transform: rotate(45deg);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: var(--trans-normal);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--red-400);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform var(--trans-normal);
}

.feature-item:hover {
    background: #ffffff;
    border-color: var(--red-100);
    box-shadow: var(--shadow-soft);
    transform: translateX(5px);
}

.feature-item:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--red-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.1rem;
    position: relative;
}

.feature-icon::after {
    content: '';
    width: 10px;
    height: 5px;
    border-bottom: 2px solid var(--red-600);
    border-left: 2px solid var(--red-600);
    transform: rotate(-45deg) translate(1px, -1px);
}

.feature-content {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.feature-content strong {
    color: var(--gray-900);
    font-weight: 700;
}

.safe-keyword-box {
    margin-top: 2rem;
    padding: 1.25rem;
    background: linear-gradient(to right, var(--red-50), #ffffff);
    border-left: 4px solid var(--red-500);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.safe-icon {
    width: 20px;
    height: 20px;
    background: var(--red-500);
    mask: radial-gradient(circle, #000 40%, transparent 40%);
    -webkit-mask: radial-gradient(circle, #000 40%, transparent 40%);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
}

.safe-keyword-box p {
    font-size: 0.9rem;
    color: var(--gray-700);
    font-style: italic;
    line-height: 1.5;
}

/* --- 9. CTA SECTION --- */
.cta-section {
    position: relative;
    padding: 6rem 2rem;
    background: var(--grad-light);
    border-radius: var(--radius-xl);
    text-align: center;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--red-100);
    z-index: 5;
}

.cta-bg-elements {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.cta-circle-1, .cta-circle-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
}

.cta-circle-1 {
    width: 400px;
    height: 400px;
    background: var(--red-200);
    top: -100px;
    left: -100px;
}

.cta-circle-2 {
    width: 300px;
    height: 300px;
    background: var(--red-300);
    bottom: -50px;
    right: -50px;
}

.cta-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--red-900);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-inline: auto;
}

.cta-button-wrapper {
    position: relative;
    display: inline-block;
}

.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.25rem 3rem;
    background: var(--grad-primary);
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-full);
    overflow: hidden;
    transition: var(--trans-bounce);
    box-shadow: var(--shadow-button);
    z-index: 2;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    animation: shine 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-arrow {
    transition: transform var(--trans-normal);
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-button-hover);
}

.cta-button:hover .btn-arrow {
    transform: translateX(6px);
}

.cta-button:active {
    transform: translateY(1px);
    box-shadow: var(--shadow-button);
}

.cta-shadow-layer {
    position: absolute;
    inset: 0;
    background: var(--red-600);
    border-radius: var(--radius-full);
    filter: blur(15px);
    opacity: 0.6;
    z-index: 1;
    transform: translateY(10px);
    transition: var(--trans-normal);
}

.cta-button-wrapper:hover .cta-shadow-layer {
    opacity: 0.8;
    filter: blur(20px);
}

/* --- 10. REVIEWS SECTION (AMAZON STYLE PRO) --- */
.reviews-section {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 4rem 2.5rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--gray-100);
    position: relative;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--grad-primary);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.reviews-header {
    text-align: center;
    margin-bottom: 4rem;
}

.reviews-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.reviews-subtitle {
    font-size: 1rem;
    color: var(--gray-500);
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--red-400);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.review-card {
    position: relative;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--trans-normal);
    border: 1px solid var(--gray-200);
}

.review-border-top {
    position: absolute;
    top: 0;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background: transparent;
    transition: var(--trans-normal);
}

.review-card:hover {
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    border-color: var(--red-100);
    transform: translateY(-3px);
}

.review-card:hover .review-border-top {
    background: var(--grad-primary);
    height: 3px;
    left: 0;
    right: 0;
    border-radius: 3px 3px 0 0;
}

.review-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .review-body {
        flex-direction: row;
        gap: 2rem;
    }
}

.review-avatar-col {
    flex-shrink: 0;
}

.avatar-wrap {
    width: 64px;
    height: 64px;
    position: relative;
    border-radius: 50%;
    background: #fff;
    padding: 3px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--red-200);
    border-radius: 50%;
    transition: var(--trans-normal);
}

.review-card:hover .avatar-ring {
    border-color: var(--red-500);
    transform: scale(1.05);
}

.review-content-col {
    flex: 1;
}

.review-meta-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.reviewer-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
}

.review-stars {
    color: var(--star-color);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-date {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
    font-style: italic;
}

.review-specs {
    font-size: 0.8rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    background: #ffffff;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
    display: inline-flex;
}

.spec-divider {
    color: var(--gray-300);
}

.verified-badge {
    color: var(--red-700);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.verified-icon {
    font-size: 0.75rem;
}

.review-headline {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.review-text {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.7;
}

/* Review Attached Images */
.review-attachments {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--gray-200);
}

.attachment-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--gray-200);
    cursor: pointer;
}

.attachment-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--trans-normal);
}

.attachment-hover {
    position: absolute;
    inset: 0;
    background: rgba(220, 38, 38, 0.2);
    opacity: 0;
    transition: var(--trans-normal);
}

.attachment-item:hover img {
    transform: scale(1.1);
}

.attachment-item:hover .attachment-hover {
    opacity: 1;
}

/* --- 11. FOOTER --- */
.site-footer {
    background: var(--red-950);
    color: var(--red-100);
    margin-top: 4rem;
    position: relative;
}

.footer-gradient-line {
    height: 4px;
    background: var(--grad-primary);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
}

.footer-logo-icon {
    width: 24px;
    height: 24px;
    background: var(--red-500);
    border-radius: 4px;
    transform: rotate(45deg);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.footer-link {
    color: var(--red-200);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: var(--trans-fast);
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red-400);
    transition: width var(--trans-normal);
}

.footer-link:hover {
    color: #ffffff;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-copyright {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--red-400);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    width: 100%;
    max-width: 400px;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    .footer-links {
        justify-content: flex-end;
    }
    .footer-copyright {
        margin-top: 0;
        border-top: none;
        padding-top: 0;
        width: auto;
    }
}

/* --- 12. ANIMATIONS --- */
@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.4; }
    70% { transform: scale(2.5); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}