/*
  CatCouture - Midnight Meow Edition
  Theme: High-Fashion / Editorial Luxury
  Mode: Dark
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* --- Luxurious Dark Palette --- */
    --color-bg: #050505;
    /* True Black/Deep Charcoal */
    --color-surface: rgba(255, 255, 255, 0.03);
    /* Subtle glass on dark */
    --color-surface-hover: rgba(255, 255, 255, 0.08);

    --color-text-main: #FFFFFF;
    --color-text-muted: #A1A1AA;
    /* Zinc-400 */
    --color-text-accent: #D4AF37;
    /* Metallic Gold */

    /* Accents */
    --color-primary: #D4AF37;
    /* Gold */
    --color-secondary: #E2E8F0;
    /* Soft Silver */

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #B8860B 100%);
    --gradient-dark: linear-gradient(to bottom, transparent, #050505);

    /* --- Typography --- */
    --font-display: 'Playfair Display', serif;
    /* For headlines */
    --font-body: 'Inter', sans-serif;

    /* --- Layout --- */
    --container-width: 1400px;
    /* Wider for magazine look */
    --header-height: 110px;
    --radius-sm: 4px;
    /* Sharper, more elegant */
    --radius-md: 8px;
    --radius-lg: 12px;

    /* --- Effects --- */
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --border-subtle: 1px solid rgba(255, 255, 255, 0.08);

    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--color-text-main);
    letter-spacing: -0.01em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-slow);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Typography Helpers --- */
.text-gold {
    color: var(--color-primary);
}

.font-italic {
    font-style: italic;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 0;
    /* Removed padding, managed by children */
    transition: var(--transition-slow);
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.8));
    /* Slightly darker for legibility */
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
}

.announcement-bar {
    background: var(--color-primary);
    color: #050505;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    width: 100%;
}

.announcement-bar a {
    display: block;
    padding: 0.4rem 1rem;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.announcement-bar a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    /* Lighten on hover */
}

.header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.5rem 2rem;
    /* Re-added padding for content */
}

.logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 101;
}

.logo span {
    color: var(--color-primary);
    font-style: italic;
}

/* Search Minimalist */
.search-wrapper {
    position: relative;
    width: 300px;
}

.search-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-slow);
}

.search-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.search-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    width: 18px;
    pointer-events: none;
}

/* Smart Search Results */
.search-results {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) #111;
}

.search-results.hidden {
    display: none;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.search-result-thumb {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
    background: #222;
}

.search-result-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.search-result-title {
    font-size: 0.85rem;
    color: white;
    font-weight: 500;
    line-height: 1.2;
}

.search-result-price {
    font-size: 0.75rem;
    color: var(--color-primary);
}

/* --- Navigation / Filter Bar --- */
.filter-bar {
    position: sticky;
    top: var(--header-height);
    background: #050505;
    /* Solid background to prevent see-through */
    z-index: 90;
    padding: 1rem 0;
    border-bottom: var(--border-subtle);
}

.filter-bar__content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* Align to top when wrapping happens */
    flex-wrap: wrap;
    /* Allow overall wrapping if needed */
    gap: 2rem;
}

/* Categories Dropdown */
.category-dropdown {
    flex: 1;
}

.category-dropdown select {
    background: transparent;
    color: var(--color-text-muted);
    border: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-right: 1.5rem;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* Add underline to match look */
    padding-bottom: 0.5rem;
}

.category-dropdown select:focus {
    outline: none;
    color: white;
    border-color: var(--color-primary);
}

.category-dropdown select option {
    background-color: #050505;
    color: white;
}

/* Sort Dropdown Minimal */
.sort-minimal select {
    background: transparent;
    color: var(--color-text-muted);
    border: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-right: 1.5rem;
}

.sort-minimal select:focus {
    outline: none;
    color: white;
}

.sort-minimal select option {
    background-color: #050505;
    /* Match theme bg */
    color: white;
}

/* --- Hero --- */
.hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Contain the background effect */
}

/* Luxury Background Effect */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, rgba(5, 5, 5, 0) 60%);
    animation: rotateGlow 20s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero h1 {
    font-size: 5vw;
    line-height: 1;
    margin-bottom: 1.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    /* Required for background-clip on some browsers */
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.2s;
    transition: transform 0.1s ease-out;
    /* Parallax Smoothness */
}



.hero p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.5s;
    transition: transform 0.1s ease-out;
    /* Parallax Smoothness */
}

/* --- Masonry Grid --- */
/* --- Masonry Grid --- */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    /* Compact cards for density */
    gap: 2rem;
    padding-bottom: 8rem;
}

/* Editorial Card */
.edit-card {
    position: relative;
    background: transparent;
    /* No border box look */
    transition: var(--transition-slow);
    cursor: pointer;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

/* Recommendation Badges */
.product-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.product-card__badge--recommended {
    background: var(--color-primary);
    color: #000;
}

.product-card__badge--ok {
    background: #3b82f6;
    /* Blue for OK */
    color: white;
}

.product-card__badge--avoid {
    background: #ef4444;
    /* Red for Avoid */
    color: white;
}

.product-card__badge svg {
    width: 12px;
    height: 12px;
}

.edit-card:hover .edit-card__img {
    transform: scale(1.03);
}

.edit-card__img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    /* Portrait magazine ratio */
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.edit-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    filter: grayscale(20%);
    /* Artistic touch */
}

.edit-card:hover .edit-card__img {
    filter: grayscale(0%);
}

.edit-card__details {
    text-align: center;
}

.edit-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.edit-card__price {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-primary);
    letter-spacing: 0.05em;
}

.edit-card__meta-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-slow);
}

.edit-card:hover .edit-card__meta-actions {
    opacity: 1;
    transform: translateY(0);
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition-slow);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    color: var(--color-primary);
    transform: scale(1.1);
}

.love-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    /* Slight backing */
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    /* Default white */
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: scale(0.8);
}

.edit-card:hover .love-btn {
    opacity: 1;
    transform: scale(1);
}

/* Active State for Heart */
.love-btn.active {
    background: var(--color-primary);
    color: #050505;
    opacity: 1;
    transform: scale(1) !important;
}

.love-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.love-btn.active:hover {
    background: var(--color-primary);
}

.txt-btn {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 2px;
    cursor: pointer;
}

.txt-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

button.txt-btn {
    background: transparent;
    color: inherit;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-family: inherit;
}

@media (hover: none) {
    .edit-card__meta-actions,
    .love-btn {
        opacity: 1 !important;
        transform: translateY(0) scale(1) !important;
    }
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: #000;
    padding: 8px 16px;
    font-weight: bold;
    z-index: 1000;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* --- Footer (Minimalist) --- */
.footer-minimal {
    border-top: var(--border-subtle);
    padding: 4rem 0;
    text-align: center;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-socials a {
    background: white;
    /* White background for visibility */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-slow);
    opacity: 0.9;
}

.footer-socials a:hover {
    transform: translateY(-3px) scale(1.1);
    opacity: 1;
    background: var(--color-primary);
    /* Gold on hover */
}

/* Ensure the image inside stays original (black) or inherits correctly */
.footer-socials img {
    width: 20px !important;
    height: 20px !important;
    display: block;
}

.footer-copy {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --- Animations --- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.affiliate-disclosure {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    max-width: 600px;
    line-height: 1.5;
    margin: 1.5rem auto 0;
    text-align: center;
}

/* Instagram Embed Fixes */
.instagram-media {
    background: white !important;
    border-radius: 4px;
    margin: 0.5rem !important;
    /* Spacing for wrap */
    max-width: 260px !important;
    /* Small mobile friendly size */
    min-width: 240px !important;
    width: 260px !important;
    display: inline-block !important;
    /* Allow side-by-side */
    vertical-align: top;
}

/* Ensure modal content is centered to handle inline-blocks nicely */
#notes-modal-content {
    text-align: center;
}

/* --- Modal (Premium Dark) --- */
.modal__overlay {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: none;
    /* Controlled by JS */
    opacity: 0;
    transition: opacity 0.4s ease;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
}

.modal__overlay.is-open {
    display: flex;
    opacity: 1;
}

.modal__container {
    background: #0A0A0A;
    border: 1px solid #222;
    padding: 3rem;
    max-width: 800px;
    /* Wider to fit multiple cards */
    width: 95%;
    /* Responsive */
    color: #ddd;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.modal__overlay.is-open .modal__container {
    transform: translateY(0);
}

.modal__title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal__close:hover {
    color: white;
}




.modal__content a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Paw Cursor - Gold */
.paw-trail {
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23D4AF37' d='M226.5 92.9c14.3 42.9-.3 86.2-32.6 96.8s-70.1-15.6-84.4-58.5s.3-86.2 32.6-96.8s70.1 15.6 84.4 58.5zM100.4 198.6c18.9 32.4 14.3 70.1-10.2 84.1s-59.7-.9-78.5-33.3s-14.4-70.1 10.1-84.1s59.7.9 78.5 33.3zm284.1-4.7c18.9 32.4 14.3 70.1-10.2 84.1s-59.7-.9-78.5-33.3s-14.4-70.1 10.1-84.1s59.7.9 78.5 33.3zm67.1-66.2c33.9 33.8 28.5 83.1-4.7 94.6s-67.7-18.1-101.5-51.5s-24.8-82.6 7.4-94.5s65 17.6 98.8 51.4zm-94.8 259.9c22.1 36.1 18.2 78.2-13.4 87s-68.5-16.5-90.5-52.5s-18.4-78.6 13-87.4s68.7 16.8 90.9 52.9zm-139.6-1.9c22.1 36.1 18.2 78.2-13.4 87s-68.5-16.5-90.5-52.5s-18.4-78.6 13-87.4s68.7 16.8 90.9 52.9z'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.8;
    transition: opacity 0.5s ease-out;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 998;
    transition: all 0.3s ease;
}

.whatsapp-float img {
    width: 30px;
    height: 30px;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

/* Skeleton Loading */
.skeleton-card {
    background: transparent;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.skeleton-img {
    aspect-ratio: 3/4;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.skeleton-text {
    height: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    margin: 0.5rem auto;
    position: relative;
    overflow: hidden;
}

.skeleton-text.short {
    width: 50%;
}

.skeleton-img::after,
.skeleton-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .masonry-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }

    /* Even smaller cards for mobile */

    /* Mobile Filter Bar - Horizontal Scroll */
    .filter-bar__content {
        flex-direction: column;
        /* Stack tabs and sort */
        gap: 1rem;
        align-items: stretch;
    }

    .category-tabs {
        max-width: 100%;
        flex-wrap: nowrap;
        /* Disable wrap for mobile */
        overflow-x: auto;
        /* Enable scroll */
        padding-bottom: 0.5rem;
        /* Space for scrollbar if visible */
        gap: 1.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
    }

    .category-tabs::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar Chrome/Safari */
    }

    .cat-tab {
        flex: 0 0 auto;
        /* Stop shrinking */
        font-size: 0.8rem;
    }

    .sort-minimal {
        align-self: flex-end;
        /* Align sort to right */
        font-size: 0.8rem;
    }
}

/* --- Dashboard / Utility Classes --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-slow);
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.btn-primary {
    background: var(--color-primary);
    color: #050505;
    /* Black text on gold */
    font-weight: 700;
}

.btn-primary:hover {
    background: white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-text-muted);
}

.btn-outline:hover {
    border-color: white;
    color: white;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    color: white;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-slow);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.1);
}

/* Dashboard Specifics */
.dashboard-header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toolbar {
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Newsletter Section --- */
.newsletter-section {
    padding: 6rem 0;
    border-top: var(--border-subtle);
    border-bottom: var(--border-subtle);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.01), transparent);
    text-align: center;
}

.newsletter-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.newsletter-content p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.newsletter-form .form-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-form .form-input:focus {
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .newsletter-section {
        padding: 4rem 0;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form .btn {
        width: 100%;
        justify-content: center;
    }
}

/* --- Royal Toasts --- */
.toast-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.toast {
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid var(--color-primary);
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
    animation: toastIn 0.4s ease forwards;
}

.toast.hiding {
    animation: toastOut 0.4s ease forwards;
}

@keyframes toastIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toastOut {
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* --- Spotlight Section --- */
.spotlight-section {
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.8s;
}

.spotlight-card {
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, rgba(5, 5, 5, 0) 80%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 2rem;
    /* Reduced padding from 3rem */
    display: flex;
    align-items: center;
    gap: 3rem;
    /* Reduced gap from 4rem */
    position: relative;
    overflow: hidden;
}

.spotlight-card::before {
    content: 'TREASURE OF THE DAY';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--color-primary);
    text-transform: uppercase;
    font-weight: 700;
}

.spotlight-img-wrapper {
    flex: 0 0 35%;
    aspect-ratio: 3/4;
    border-radius: var(--radius-sm);
    overflow: hidden;
    max-height: 400px;
    /* Limit height */
}

.spotlight-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.spotlight-card:hover .spotlight-img {
    transform: scale(1.05);
}

.spotlight-content {
    flex: 1;
}

.spotlight-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.spotlight-content p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 90%;
}

/* --- Enhanced Modal --- */
.modal__container {
    padding: 0;
    /* Remove padding for split layout */
    display: flex;
    overflow: hidden;
    /* For image clip */
    gap: 0;
}

.modal__image-col {
    width: 40%;
    background: #000;
}

.modal__image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal__content-col {
    width: 60%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    /* Scrollable text if long */
    overflow-y: auto;
}

/* Override existing modal title margin for new layout */
.modal__title {
    margin-top: 0;
}

@media (max-width: 900px) {
    .spotlight-card {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 4rem 2rem 2rem 2rem;
    }

    .spotlight-img-wrapper {
        width: 100%;
        max-width: 300px;
        flex: auto;
    }

    .modal__container {
        flex-direction: column;
    }

    .modal__image-col {
        width: 100%;
        height: 250px;
    }

    .modal__content-col {
        width: 100%;
        padding: 2rem;
    }
}

/* --- Scroll Top Button --- */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--color-primary);
    color: #050505;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    transition: all 0.4s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
}

/* --- Mobile Improvements --- */
@media (max-width: 1024px) {
    .edit-card__meta-actions {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

/* --- Loading & States --- */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 4rem 0;
    color: var(--color-primary);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.error-message,
.no-results {
    text-align: center;
    padding: 4rem 0;
    color: var(--color-text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.error-message i {
    color: #ef4444;
    width: 48px;
    height: 48px;
}

.hidden {
    display: none !important;
}

/* --- Royal Games Section --- */
.games-section {
    padding: 6rem 2rem;
    border-top: var(--border-subtle);
    border-bottom: var(--border-subtle);
    background: rgba(255, 255, 255, 0.01);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.section-header p {
    color: var(--color-text-muted);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.game-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-slow);
    display: block;
    text-decoration: none;
    position: relative;
}

.game-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.game-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}

.game-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.game-card:hover .game-thumbnail img {
    transform: scale(1.05);
    opacity: 0.6;
}

.game-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: var(--transition-slow);
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-overlay i {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.game-card:hover .game-overlay i {
    transform: scale(1);
}

.game-info {
    padding: 1.5rem;
    text-align: center;
}

.game-info h3 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.game-info p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Coming Soon Card */
.coming-soon .game-thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
}

.placeholder-thumb {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg,
            #111,
            #111 10px,
            #151515 10px,
            #151515 20px);
    opacity: 0.5;
}

.coming-soon {
    cursor: default;
    pointer-events: none;
    opacity: 0.7;
}

/* Phase 1.2 Additions */
html {
    scroll-behavior: smooth;
}

.hero-cta {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    margin-top: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--color-primary);
    color: #050505;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

/* Skeletons */
.skeleton-card {
    background: #0a0a0a;
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 100%;
}
.skeleton-img {
    width: 100%;
    aspect-ratio: 3/4;
    background: #111;
}
.skeleton-text {
    height: 16px;
    background: #111;
    margin-bottom: 8px;
    border-radius: 4px;
}
.skeleton-text.short {
    width: 60%;
}
.shimmer {
    background: linear-gradient(90deg, #111 25%, #222 50%, #111 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
}
@keyframes shimmer {
    to { background-position: -200% 0; }
}