:root {
    /* Tavolozza Premium Dark (Unified) */
    --bg-dark: #050505;
    --bg-color: #0c0c0e;
    --text-primary: #ffffff;
    --text-main: #f0f0f0;
    --text-secondary: #a1a1aa;
    --text-muted: #888;
    
    /* Neon Colors */
    --accent-red: #ff2a2a;
    --red-neon: #ff2a2a;
    --red-dark: #b30000;
    --accent-red-glow: rgba(255, 42, 42, 0.15);
    
    /* Effetti di Vetro (Glassmorphism) */
    --card-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-hover: rgba(255, 255, 255, 0.08);
    
    /* Brand Colors specifici */
    --color-fiscozen: #2ecc71;
    --color-amazon: #ff9900;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Sfondo dinamico con bagliori */
.background-glow {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-red-glow) 0%, rgba(0,0,0,0) 60%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px);
}
.background-glow::after {
    content: '';
    position: fixed;
    bottom: -10%;
    right: -20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255, 153, 0, 0.08) 0%, rgba(0,0,0,0) 60%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px);
}

.container {
    width: 100%;
    max-width: 640px;
    padding: 48px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    z-index: 1;
}

/* ==================================
   HEADER / PROFILE
   ================================== */
.profile {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.profile-image-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--accent-red), #ff5e5e);
    margin-bottom: 8px;
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.25);
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-color);
}

.profile-name {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.profile-bio {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 400px;
    line-height: 1.5;
}

/* ==================================
   SOCIAL ICONS
   ================================== */
.social-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    width: 100%;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    font-size: 1.4rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.social-icon.instagram:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); border-color: transparent; }
.social-icon.youtube:hover { background: #FF0000; border-color: #FF0000; }
.social-icon.tiktok:hover { background: #00f2fe; color: #000; border-color: #00f2fe; }

/* ==================================
   LINKS BUTTONS
   ================================== */
.links-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.link-btn {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.link-btn:hover {
    transform: scale(1.02) translateY(-2px);
    background: var(--card-hover);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}

.link-btn:active {
    transform: scale(0.98);
}

.link-icon {
    font-size: 1.6rem;
    margin-right: 18px;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
}

.link-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.link-text .title {
    font-weight: 600;
    font-size: 1.05rem;
}

.link-text .subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Specific Link Colors */
.featured.fiscozen {
    background: linear-gradient(90deg, rgba(46, 204, 113, 0.1), rgba(46, 204, 113, 0.03));
    border-color: rgba(46, 204, 113, 0.2);
}
.featured.fiscozen .link-icon { color: var(--color-fiscozen); background: rgba(46, 204, 113, 0.1); }
.featured.fiscozen:hover { border-color: var(--color-fiscozen); box-shadow: 0 10px 20px rgba(46, 204, 113, 0.15); }

.amazon-store {
    background: linear-gradient(90deg, rgba(255, 153, 0, 0.1), rgba(255, 153, 0, 0.03));
    border-color: rgba(255, 153, 0, 0.2);
}
.amazon-store .link-icon { color: var(--color-amazon); background: rgba(255, 153, 0, 0.1); }
.amazon-store:hover { border-color: var(--color-amazon); box-shadow: 0 10px 20px rgba(255, 153, 0, 0.15); }

.gift-list {
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.1), rgba(255, 0, 0, 0.03));
    border-color: rgba(255, 0, 0, 0.2);
}
.gift-list .link-icon { color: var(--accent-red); background: rgba(255, 0, 0, 0.1); }
.gift-list:hover { border-color: var(--accent-red); box-shadow: 0 10px 20px rgba(255, 0, 0, 0.15); }


/* ==================================
   PRODUCTS GRID
   ================================== */
.product-grid-section {
    width: 100%;
    margin-top: 24px;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 4px;
}

.section-title i {
    color: #ffd700;
    font-size: 1.1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-info {
    padding: 14px;
}

.product-info h3 {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-info p {
    font-size: 0.75rem;
    color: var(--color-amazon);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==================================
   FOOTER
   ================================== */
.footer {
    margin-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-bottom: 20px;
}

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

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

/* ==================================
   RESPONSIVE DESIGN (Mobile First tweaks)
   ================================== */

/* ==================================
   LINKS PAGE ENHANCEMENTS (Refactored from Inline)
   ================================== */
.links-main-container {
    position: relative;
    z-index: 10;
    padding-top: 60px;
    margin: 0 auto;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.profile-header-premium {
    border-radius: 30px;
    padding: 40px 20px;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    background: rgba(255, 42, 42, 0.02);
    border: 1px solid rgba(255, 42, 42, 0.1);
}

.bio-text-large {
    font-size: 1.1rem;
    color: #ccc;
}

.social-grid-center {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin-bottom: 40px;
}

.links-grid-full {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-grid-wrapper {
    width: 100%;
    margin-top: 50px;
}

.product-grid-links {
    gap: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    width: 100%;
}

@media (max-width: 480px) {
    .container {
        padding: 30px 16px;
        gap: 28px;
    }
    
    .profile-image-container {
        width: 100px;
        height: 100px;
    }
    
    .profile-name {
        font-size: 1.4rem;
    }
    
    .social-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .link-btn {
        padding: 14px 16px;
    }

    .link-icon {
        width: 38px;
        height: 38px;
        font-size: 1.3rem;
        margin-right: 14px;
    }
    
    .product-grid {
        gap: 12px;
    }
    
    .product-info {
        padding: 12px;
    }
}

/* Griglia prodotti pagina Link: 2 colonne su mobile per foto più leggibili */
@media (max-width: 600px) {
    .product-grid-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-grid-links .product-info {
        padding: 10px;
    }

    .product-grid-links .product-info h3 {
        font-size: 0.82rem;
        margin-bottom: 4px;
    }

    .product-grid-links .product-info p {
        font-size: 0.65rem;
    }
}

/* ==================================
   HOME PAGE SPECIFIC STYLES
   ================================== */
.home-page {
    display: block; /* Override flex of links page */
    min-height: 100vh;
}

.home-page .background-glow {
    top: -10%;
    left: 10%;
    width: 70vw;
    height: 70vw;
    opacity: 0.8;
}

/* Navbar */
.navbar {
    width: 100%;
    padding: 24px 5%;
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    width: 100%;
    max-width: 1100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.nav-logo span {
    color: var(--accent-red);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.nav-btn) {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:not(.nav-btn):hover {
    color: var(--text-primary);
}

.nav-btn {
    background: var(--text-primary);
    color: var(--bg-color);
    padding: 10px 24px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.2);
}

/* Hero Section */
.hero {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title .highlight {
    background: linear-gradient(90deg, #ff0000, #ff6b6b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 36px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,255,255,0.2);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--card-hover);
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.15);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.image-wrapper {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Format Section */
.content-section {
    max-width: 1100px;
    margin: 120px auto;
    padding: 0 5%;
}

.section-title-large {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
    color: var(--text-primary);
}

.section-desc {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 50px auto;
    line-height: 1.5;
}

.format-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.format-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.format-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,0,0,0.3);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3), inset 0 0 20px rgba(255,0,0,0.05);
}

.format-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: all 0.3s;
}

.format-card:hover .format-icon {
    background: rgba(255,0,0,0.1);
    color: var(--accent-red);
    transform: scale(1.1);
}

.format-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.format-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.footer-social a:hover {
    transform: scale(1.2);
    color: var(--accent-red);
}

/* Home Page Responsive Tweaks */
@media (max-width: 992px) {
    .nav-links {
        display: none; /* Hide normal links on mobile, show only button */
    }
    
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
        margin: 40px auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==================================
   COOKIE BANNER (NEON)
   ================================== */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    width: 90%;
    max-width: 500px;
    background: rgba(12, 12, 14, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 0, 0, 0.1);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    pointer-events: none;
}

.cookie-banner.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: all;
    border-color: rgba(255, 0, 0, 0.3);
}

.cookie-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-content h3 i {
    color: var(--accent-red);
}

.cookie-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cookie-content p a {
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-color: var(--accent-red);
}

.cookie-actions {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    border: none;
}

.cookie-btn.accept {
    background: var(--text-primary);
    color: var(--bg-color);
}

.cookie-btn.accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.cookie-btn.decline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--card-border);
}

.cookie-btn.decline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

@media (max-width: 480px) {
    .cookie-banner {
        bottom: 20px;
        padding: 20px;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
}
