/* ============================================
   IMPORTS & VARIABLES
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Roboto+Mono:wght@400;500;700&display=swap');

:root {
    /* Colors */
    --background: #050505;
    --foreground: #e5e5e5;
    --card: #0a0a0a;
    --primary: #7f1d1d;
    --primary-hover: #991b1b;
    --primary-light: #dc2626;
    --border: #262626;
    --border-light: #1a1a1a;
    --text-muted: #808080;
    --text-secondary: #666666;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: 'Roboto Mono', monospace;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    will-change: scroll-position;
    transform: translateZ(0);
}

/* Noise texture overlay - Optimized */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    will-change: transform;
    transform: translateZ(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--card);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3 {
    font-family: 'Cinzel', serif;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: -0.02em;
    color: var(--foreground);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.875rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }
}

.section-label {
    font-family: 'Roboto Mono', monospace;
    color: rgba(220, 38, 38, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 1rem;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: 'Roboto Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.125em;
    border: 1px solid;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    min-height: 44px;
}

@media (max-width: 480px) {
    .btn {
        padding: 0.875rem 1.5rem;
        min-height: 48px;
    }
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border-color: #991b1b;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
    transform: scale(1.02);
}

.btn-primary:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-submit {
    width: 100%;
}

/* ============================================
   MODAL + FORM
   ============================================ */

.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    pointer-events: none;
}

.modal.open {
    display: flex;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 0;
    pointer-events: auto;
}

.modal-content {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(15, 15, 15, 0.95) 100%);
    border: 2px solid rgba(127, 29, 29, 0.6);
    padding: 2.5rem;
    width: min(520px, 92vw);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 0 60px rgba(220, 38, 38, 0.4), inset 0 0 40px rgba(127, 29, 29, 0.1);
    pointer-events: auto;
    color: var(--foreground);
    border-radius: 2px;
    animation: modalSlideIn 0.3s ease-out;
}

@media (max-width: 480px) {
    .modal-content {
        padding: 1.5rem;
        width: 95vw;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close:hover {
    color: var(--primary-light);
    transform: scale(1.2);
}

.modal-title {
    font-family: 'Cinzel', serif;
    font-size: 1.75rem;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.wishlist-form {
    display: grid;
    gap: 0.75rem;
}

.form-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.form-input {
    background: rgba(5, 5, 5, 0.9);
    border: 1px solid var(--border);
    color: var(--foreground);
    padding: 0.85rem 1rem;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.95rem;
    transition: all 0.2s;
    border-radius: 2px;
    min-height: 44px;
}

@media (max-width: 480px) {
    .form-input {
        min-height: 48px;
        padding: 1rem;
    }
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
    background: rgba(10, 10, 10, 0.95);
}

.form-input:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

.form-disclaimer {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    line-height: 1.4;
}

.btn-submit {
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2rem 1.5rem;
}

@media (max-width: 480px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 1rem;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(5, 5, 5, 0) 0%,
        rgba(5, 5, 5, 0.7) 50%,
        #050505 100%
    );
    z-index: 1;
}

.vignette {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.9);
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 56rem;
}

/* Hero buttons container */
.hero-content > div[style*="display: flex"] {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-content > div[style*="display: flex"] {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-content > div[style*="display: flex"] {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-content > div[style*="display: flex"] .btn {
        width: 100%;
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #b91c1c;
    filter: drop-shadow(0 0 15px rgba(220, 38, 38, 0.5));
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.875rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: #9ca3af;
    max-width: 42rem;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-description {
        font-size: 0.875rem;
        margin: 0 auto 1.5rem;
    }
}

.wishlist-counter {
    font-size: 0.875rem;
    color: rgba(220, 38, 38, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.125em;
    margin-bottom: 1.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.chevron-down {
    width: 2rem;
    height: 2rem;
    color: #4b5563;
    stroke: currentColor;
}

.fog-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8rem;
    background: linear-gradient(to top, #050505, transparent);
    animation: fog-drift 15s ease-in-out infinite;
    opacity: 0.5;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
    padding: 6rem 1.5rem;
    background-color: var(--background);
}

@media (max-width: 768px) {
    .features-section {
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .features-section {
        padding: 2rem 1rem;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.feature-card {
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(0.5rem);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    transition: all 0.5s ease;
    will-change: border-color;
    transform: translateZ(0);
}

.feature-card:hover {
    border-color: rgba(127, 29, 29, 0.3);
}

.feature-bar {
    width: 3rem;
    height: 0.25rem;
    background-color: var(--primary);
    margin-bottom: 1.5rem;
    transition: width 0.3s ease;
}

.feature-card:hover .feature-bar {
    width: 4rem;
}

.feature-title {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.feature-description {
    color: #808080;
    font-size: 0.875rem;
    line-height: 1.7;
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery-section {
    padding: 6rem 1.5rem;
    background-color: var(--card);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item-large {
        grid-column: 1;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform: rotate(0.5deg) translateZ(0);
    will-change: border-color;
}

.gallery-item:nth-child(2) {
    transform: rotate(-0.5deg);
}

.gallery-item:nth-child(3) {
    transform: rotate(0.5deg);
}

.gallery-item:nth-child(4) {
    transform: rotate(-0.5deg);
}

.gallery-item-large {
    grid-column: 1 / -1;
    aspect-ratio: 21 / 9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.gallery-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(127, 29, 29, 0.5);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover {
    border-color: rgba(127, 29, 29, 0.3);
}

/* ============================================
   WISHLIST TABLE
   ============================================ */

.wishlist-table-wrapper {
    overflow-x: auto;
}

.wishlist-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.wishlist-table th,
.wishlist-table td {
    text-align: left;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wishlist-table th {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
}

/* ============================================
   TRAILER SECTION
   ============================================ */

.trailer-section {
    padding: 6rem 1.5rem;
    background-color: var(--background);
}

.trailer-container {
    position: relative;
    max-width: 56rem;
    margin: 0 auto;
}

.rec-indicator {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0.25rem 0.75rem;
}

.rec-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #dc2626;
    border-radius: 50%;
    animation: blink-rec 1s ease-in-out infinite;
}

.rec-text {
    color: #dc2626;
    font-size: 0.75rem;
    font-family: 'Roboto Mono', monospace;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    opacity: 0.3;
}

/* ============================================
   WISHLIST SECTION
   ============================================ */

.wishlist-section {
    padding: 6rem 1.5rem;
    background-color: var(--background);
}

.wishlist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 768px) {
    .wishlist-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.wishlist-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wishlist-text .section-title {
    border-bottom: 1px solid rgba(127, 29, 29, 0.3);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.wishlist-description {
    color: #9ca3af;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.wishlist-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #808080;
    font-size: 0.875rem;
    font-family: 'Roboto Mono', monospace;
}

.badge-dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--primary);
    border-radius: 50%;
    animation: pulse-red 2s infinite;
}

.wishlist-form-container {
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(0.5rem);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 3rem;
}

.form-header {
    margin-bottom: 1.5rem;
}

.form-comment {
    color: rgba(220, 38, 38, 0.6);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Roboto Mono', monospace;
}

.wishlist-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    position: relative;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 0.75rem;
    width: 1.25rem;
    height: 1.25rem;
    color: #808080;
    pointer-events: none;
}

.form-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    color: var(--foreground);
    font-family: 'Roboto Mono', monospace;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: #4b5563;
}

.form-input:focus {
    outline: none;
    border-color: #7f1d1d;
    box-shadow: 0 0 10px rgba(127, 29, 29, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 3rem 1.5rem;
    background-color: var(--background);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
    }
}

.footer-brand {
    text-align: center;
}

@media (min-width: 768px) {
    .footer-brand {
        text-align: left;
    }
}

.footer-title {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.footer-copyright {
    color: #4b5563;
    font-size: 0.875rem;
    font-family: 'Roboto Mono', monospace;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.social-link {
    color: #808080;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
}

.social-link:hover {
    color: var(--primary-light);
}

.social-link svg {
    width: 100%;
    height: 100%;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes breathing {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 15px rgba(220, 38, 38, 0.5);
    }
    50% {
        transform: scale(1.02);
        text-shadow: 0 0 30px rgba(220, 38, 38, 0.7);
    }
}

.animate-breathing {
    animation: breathing 4s ease-in-out infinite;
}

@keyframes fog-drift {
    0% {
        transform: translateX(-10%) translateY(0);
        opacity: 0.3;
    }
    50% {
        transform: translateX(10%) translateY(-5px);
        opacity: 0.5;
    }
    100% {
        transform: translateX(-10%) translateY(0);
        opacity: 0.3;
    }
}

.animate-fog {
    animation: fog-drift 15s ease-in-out infinite;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
    opacity: 0;
}

[style*="animation-delay: 0.1s"] {
    animation-delay: 0.1s !important;
}

[style*="animation-delay: 0.2s"] {
    animation-delay: 0.2s !important;
}

[style*="animation-delay: 0.3s"] {
    animation-delay: 0.3s !important;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes blink-rec {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-blink {
    animation: blink-rec 1s ease-in-out infinite;
}

@keyframes pulse-red {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(185, 28, 28, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(185, 28, 28, 0);
    }
}

.animate-pulse-red {
    animation: pulse-red 2s infinite;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

/* Fade in from bottom */
@keyframes scroll-fade-in {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-fade-in {
    opacity: 0;
    animation: scroll-fade-in 0.8s ease-out forwards;
    will-change: opacity, transform;
    transform: translateZ(0);
}

/* Fade in from left */
@keyframes scroll-slide-left {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.scroll-slide-left {
    opacity: 0;
    animation: scroll-slide-left 0.8s ease-out forwards;
    will-change: opacity, transform;
    transform: translateZ(0);
}

/* Fade in from right */
@keyframes scroll-slide-right {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.scroll-slide-right {
    opacity: 0;
    animation: scroll-slide-right 0.8s ease-out forwards;
    will-change: opacity, transform;
    transform: translateZ(0);
}

/* Scale up */
@keyframes scroll-scale-up {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scroll-scale-up {
    opacity: 0;
    animation: scroll-scale-up 0.8s ease-out forwards;
    will-change: opacity, transform;
    transform: translateZ(0);
}

/* Rotate in */
@keyframes scroll-rotate-in {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

.scroll-rotate-in {
    opacity: 0;
    animation: scroll-rotate-in 0.8s ease-out forwards;
}

/* Stagger animations */
.scroll-stagger-1 { animation-delay: 0.1s; }
.scroll-stagger-2 { animation-delay: 0.2s; }
.scroll-stagger-3 { animation-delay: 0.3s; }
.scroll-stagger-4 { animation-delay: 0.4s; }
.scroll-stagger-5 { animation-delay: 0.5s; }

/* Parallax text effect */
.parallax-text {
    position: relative;
}

/* Glow on scroll */
@keyframes scroll-glow {
    from {
        box-shadow: 0 0 0 rgba(220, 38, 38, 0);
    }
    to {
        box-shadow: 0 0 30px rgba(220, 38, 38, 0.5);
    }
}

.scroll-glow {
    animation: scroll-glow 0.8s ease-out forwards;
}

/* Border slide in */
@keyframes border-slide {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.scroll-border::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 2px;
    background: var(--primary);
    animation: border-slide 0.8s ease-out forwards;
}

/* Flip animation */
@keyframes scroll-flip {
    from {
        opacity: 0;
        transform: rotateY(90deg);
    }
    to {
        opacity: 1;
        transform: rotateY(0);
    }
}

.scroll-flip {
    opacity: 0;
    animation: scroll-flip 0.8s ease-out forwards;
    perspective: 1000px;
}

/* Bounce in */
@keyframes scroll-bounce-in {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    50% {
        opacity: 1;
        transform: translateY(-10px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.scroll-bounce-in {
    opacity: 0;
    animation: scroll-bounce-in 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    will-change: opacity, transform;
    transform: translateZ(0);
}

/* Pulse on scroll */
@keyframes scroll-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.scroll-pulse {
    animation: scroll-pulse 0.8s ease-out forwards;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.toast-container {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 10001;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

@media (max-width: 480px) {
    .toast-container {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        align-items: stretch;
    }
}

.toast {
    background-color: rgba(10, 10, 10, 0.98);
    color: var(--foreground);
    border: 2px solid var(--border);
    font-family: 'Roboto Mono', monospace;
    padding: 1.2rem 2rem;
    border-radius: 2px;
    pointer-events: auto;
    animation: slide-down 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
    font-size: 0.95rem;
    max-width: 90vw;
    min-width: 300px;
    text-align: center;
}

.toast.success {
    border-color: var(--primary-light);
    color: var(--primary-light);
    background-color: rgba(20, 10, 10, 0.98);
}

.toast.error {
    border-color: #dc2626;
    color: #fca5a5;
    background-color: rgba(30, 10, 10, 0.98);
}

@keyframes slide-down {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-up {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.toast.removing {
    animation: slide-up 0.3s ease;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item-large {
        grid-column: 1;
        aspect-ratio: 16 / 9;
    }

    .wishlist-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .wishlist-form-container {
        padding: 1.5rem 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}
