/* 
  TARIKA LIPPANART - Arctic Minimalist Design System
  Premium, High-Impact, Modern Gallery Aesthetic
*/

:root {
    --primary: #0a0a0a;
    --accent: #f58d24; /* Sophisticated Gold */
    --accent-light: #ffd700;
    --text: #ffffff;
    --text-muted: #a0a0a0;
    --bg-light: #fefcfb; 
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Font Palette */
    --font-main: 'Outfit', 'Inter', sans-serif;
    --font-heading: 'Bebas Neue', cursive;
    --font-serif: 'Playfair Display', serif;
    
    /* Premium Shadow System */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-soft: 0 40px 100px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 20px 40px rgba(245, 141, 36, 0.15);
    
    --transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

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

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-main);
    background-color: var(--primary);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

/* --- NAVIGATION --- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.8rem 0;
    background: linear-gradient(to bottom, rgba(10,10,10,0.8) 0%, transparent 100%);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

#navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(10, 10, 10, 0.95);
    box-shadow: var(--shadow-lg);
}

.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-group {
    display: flex;
    gap: 2rem;
    flex: 1;
}

.nav-group.right {
    justify-content: flex-end;
}

.nav-group a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-group a::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-group a:hover {
    color: var(--accent);
    text-shadow: 0 0 15px rgba(245, 141, 36, 0.4);
}

.nav-group a:hover::after {
    width: 100%;
}

/* --- ANIMATIONS --- */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.float-anim {
    animation: float 8s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translate(-100%, -100%) rotate(45deg); }
    100% { transform: translate(100%, 100%) rotate(45deg); }
}

.shimmer {
   position: relative;
   overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: -150%;
    left: -150%;
    width: 300%;
    height: 300%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: rotate(45deg);
    animation: shimmer 5s infinite linear;
}

.logo-center {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2.5rem;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
    transition: var(--transition);
}

.logo-center:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 15px 30px rgba(245, 141, 36, 0.3));
}

.logo-arch {
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    overflow: hidden;
    border: 2px solid var(--accent);
    transition: var(--transition);
}

.logo-center:hover .logo-arch {
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);

    justify-content: center;
    align-items: center;
    transition: var(--transition);
    cursor: pointer;
    overflow: hidden;
    border: 2px solid var(--accent);
    background: white;
    box-shadow: var(--shadow-xl);
}

.logo-arch:hover {
    transform: scale(1.1) rotate(5deg);
}

.logo-arch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- HERO SECTION --- */
.hero-visual {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.6)), url('../images/home_bg.png') center/cover no-repeat;
}

.hero-title-main {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 0.9;
    text-transform: uppercase;
    z-index: 10;
    pointer-events: none;
    color: var(--text);
    text-shadow: 0 10px 30px rgba(0,0,0,1);
    animation: revealTitle 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-subtitle-new {
    font-family: var(--font-main);
    font-size: 1.25rem;
    max-width: 650px;
    margin-top: 2rem;
    color: var(--text-muted);
    z-index: 10;
    font-weight: 300;
    letter-spacing: 0.05rem;
    animation: fadeIn 2s ease 0.5s forwards;
    opacity: 0;
    line-height: 1.8;
}

.floating-img {
    position: absolute;
    filter: grayscale(0.5) brightness(0.7);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    overflow: hidden;
    clip-path: none; /* Removed sharp clip path */
    border-radius: 20px; /* Added radius for softer look */
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.floating-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-img:hover {
    filter: grayscale(0) brightness(1);
    z-index: 20;
    transform: scale(1.1) rotate(2deg) !important;
}

.floating-img:hover img {
    transform: scale(1.2);
}

.img-label {
    position: absolute;
    bottom: -30px;
    left: 0;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    opacity: 0;
    transition: var(--transition);
    background: rgba(0,0,0,0.8);
    padding: 5px 15px;
    backdrop-filter: blur(5px);
}

.floating-img:hover .img-label {
    bottom: 20px;
    left: 20px;
    opacity: 1;
}

/* Float Positions */
.img-1 { top: 10%; left: -5%; width: 300px; height: 400px; animation: floatHigh 15s infinite alternate; }
.img-2 { top: 60%; left: 5%; width: 250px; height: 350px; animation: floatMid 20s infinite alternate-reverse; }
.img-3 { top: 5%; right: 2%; width: 350px; height: 450px; animation: floatLow 18s infinite alternate; }
.img-4 { bottom: 0%; left: 30%; width: 220px; height: 320px; animation: floatHigh 22s infinite alternate-reverse; }
.img-5 { bottom: 15%; right: 5%; width: 320px; height: 280px; animation: floatMid 16s infinite alternate; }
.img-6 { top: 35%; right: 10%; width: 200px; height: 280px; animation: floatLow 12s infinite alternate-reverse; }

@keyframes floatHigh {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-50px) rotate(5deg); }
}
@keyframes floatMid {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-30px) rotate(-3deg); }
}
@keyframes floatLow {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes revealTitle {
    0% { opacity: 0; transform: translateY(150px) skewY(10deg); filter: blur(30px); letter-spacing: -20px; }
    100% { opacity: 1; transform: translateY(0) skewY(0); filter: blur(0); letter-spacing: normal; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- IMAGE MARQUEE --- */
.image-marquee {
    padding: 6rem 0;
    width: 100%;
    overflow: hidden;
    background: #050505;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
}

.image-marquee::before,
.image-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.image-marquee::before {
    left: 0;
    background: linear-gradient(to right, #050505 0%, transparent 100%);
}

.image-marquee::after {
    right: 0;
    background: linear-gradient(to left, #050505 0%, transparent 100%);
}

.marquee-content {
    display: flex;
    white-space: nowrap;
}

.marquee-track {
    display: flex;
    gap: 30px;
    padding: 20px 0; /* Add padding to prevent hover cutoff for shadow and translate */
    animation: scrollMarquee 40s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

/* Dim non-hovered items to create focus effect */
.marquee-track:hover .marquee-item {
    opacity: 0.4;
    filter: grayscale(1);
    transform: scale(0.95);
}

.marquee-item {
    flex-shrink: 0;
    width: 240px; 
    height: 320px; 
    border-radius: 20px;
    overflow: hidden;
    background: var(--primary);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    filter: grayscale(0.2) contrast(1.1);
    box-shadow: var(--shadow-xl);
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.marquee-track:hover .marquee-item:hover {
    opacity: 1;
    transform: scale(1.15) translateY(-10px);
    border-color: var(--accent);
    filter: grayscale(0) contrast(1.1);
    box-shadow: 0 20px 40px rgba(117, 116, 112, 0.2);
    z-index: 20;
}

.marquee-track:hover .marquee-item:hover img {
    transform: scale(1.15);
}

.marquee-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.8), transparent 40%);
    opacity: 0.5;
    transition: var(--transition);
}

.marquee-item:hover::after {
    opacity: 0.2;
}

.marquee-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 5;
}

.marquee-item:hover .marquee-label {
    opacity: 1;
    transform: translateY(0);
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); } /* -50% to repeat correctly, -15px for half the gap */
}

/* --- GALLERY --- */
.gallery-preview {
    padding: 6rem 0;
    background-color: var(--bg-light);
    color: var(--primary);
}

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

.subtitle {
    font-family: var(--font-main);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5rem;
    color: var(--accent);
    display: block;
    margin-bottom: 1rem;
    font-weight: 500;
}

.gallery-preview h2 {
    font-family: var(--font-heading);
    font-size: 4vw; /* Reduced from 5vw */
    line-height: 1;
    text-transform: uppercase;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    opacity: 0;
    transition: var(--transition);
    color: white;
}

.gallery-item:hover img {
    transform: scale(1.1) rotate(2deg);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item-overlay p {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
}

.gallery-item:hover h3, 
.gallery-item:hover p {
    transform: translateY(0);
}

/* --- GLOBAL REVEAL ANIMATIONS --- */
.reveal {
    opacity: 0.1;
    transform: translateY(50px);
    transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0.1;
    transform: translateX(-50px);
    transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0.1;
    transform: translateX(50px);
    transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

@keyframes scaleIn {
    from { transform: scale(1.3); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.scale-in {
    animation: scaleIn 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Button & Link Effects */
.cta-btn {
    display: inline-block;
    padding: 1.2rem 3.5rem; 
    background: var(--primary);
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--primary);
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transition: var(--transition);
    z-index: -1;
}

.cta-btn:hover {
    color: var(--primary);
    border-color: var(--accent);
    letter-spacing: 8px; /* Extra animation */
}

.cta-btn:hover::before {
    left: 0;
}

/* --- PREVIEW SECTIONS --- */
.artist-preview-container, .dev-preview-container {
    display: flex;
    align-items: center;
    gap: 8rem;
}

.dev-preview-container {
    flex-direction: row-reverse;
}

.artist-preview-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    box-shadow: 30px 30px 60px rgba(0,0,0,0.15), 15px 15px 15px rgba(0,0,0,0.9);
    border-radius: 24px;
    transition: var(--transition);
}

.artist-preview-img:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 40px 40px 80px rgba(0,0,0,0.2), 20px 20px 15px rgba(0,0,0,0.9);
}

.dev-preview-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: -30px 30px 60px rgba(0,0,0,0.4), -15px 15px 0 rgba(255,255,255,0.05);
    transition: var(--transition);
}

.dev-preview-img:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: -40px 40px 80px rgba(0,0,0,0.5), -20px 20px 0 rgba(255,255,255,0.08);
}

/* --- FOOTER --- */
footer {
    padding: 8rem 0 4rem;
    background: #050505;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-brand {
    flex: 2;
}

.footer-brand .logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 2rem;
}

.footer-brand span {
    color: var(--accent);
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 400px;
}

.footer-links {
    flex: 1;
}

.footer-links h4 {
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 8px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
}

.social-links a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-links a:hover {
    color: var(--primary);
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-8px) rotate(12deg);
    box-shadow: var(--shadow-gold), 0 15px 30px rgba(245, 141, 36, 0.4);
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.social-links a:hover::before {
    left: 100%;
}

/* Light Background context overrides (About/Contact pages) */
.story-section .social-links a,
.contact-details .social-links a {
    color: var(--primary);
    border-color: rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.story-section .social-links,
.contact-details .social-links {
    justify-content: flex-start;
}

.dev-card .social-links {
    justify-content: center;
}

.dev-card .social-links a {
    color: var(--text);
    border-color: var(--glass-border);
    background: var(--glass);
}

.social-wrapper {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.social-person-block {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
}

.social-label {
    font-family: var(--font-main);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent);
    font-weight: 600;
    opacity: 0.9;
    text-shadow: 0 0 15px rgba(245, 141, 36, 0.5);
    transition: var(--transition);
}

.social-person-block:hover .social-label {
    opacity: 1;
    text-shadow: 0 0 25px rgba(245, 141, 36, 0.8);
    letter-spacing: 6px;
}

.social-links {
    margin-top: 0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.social-person-block .social-links a {
    animation: glow-pulse 4s infinite ease-in-out;
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 10px rgba(245, 141, 36, 0.1); }
    50% { box-shadow: 0 0 25px rgba(245, 141, 36, 0.3); }
}

.footer-content .social-links a {
    color: var(--text-muted);
}

.footer-bottom {
    padding-top: 4rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- RESPONSIVE --- */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 1024px) {
    .nav-links {
        position: relative;
    }
    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-group { 
        position: fixed;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        opacity: 0;
        visibility: hidden;
        z-index: 999;
    }

    .nav-group:first-child {
        top: 0;
        height: 50vh;
        padding-top: 100px;
        justify-content: center;
        border-bottom: 1px solid var(--glass-border);
        transform: translateY(-50px);
    }

    .nav-group.right {
        top: 50vh;
        height: 50vh;
        padding-bottom: 50px;
        justify-content: center;
        transform: translateY(50px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    }

    .nav-links.mobile-active .nav-group {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .hero-title-main { font-size: 15vw; }
    .hero-title-main[style*="8vw"] { font-size: 12vw !important; }
    
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .floating-img { transform: scale(0.6) !important; display: none; } 
    
    .contact-content { grid-template-columns: 1fr; gap: 5rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 25px; }
    #navbar { padding: 0.6rem 0; }
    #navbar.scrolled { padding: 0.4rem 0; }
    
    .nav-btn { padding: 10px 20px; font-size: 0.8rem; }
    .logo-arch { width: 45px; height: 45px; }
    
    .hero { padding-top: 10rem; }
    .hero-title-main { font-size: 18vw; }
    .hero-title-main[style*="8vw"] { font-size: 15vw !important; }
    
    .section-title h2 { font-size: 3rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    
    .shop-filters { flex-direction: column; gap: 2rem; align-items: center; }
    .shop-grid { grid-template-columns: 1fr !important; }
    
    .artist-preview .container, 
    .dev-preview .container { 
        flex-direction: column !important; 
        gap: 3rem !important; 
        text-align: center;
    }
    .artist-preview img, .dev-preview img { 
        width: 100% !important;
        height: auto !important;
        box-shadow: 0 20px 40px rgba(0,0,0,0.3) !important;
        transform: none !important;
    }
    
    .footer-content { flex-direction: column; gap: 4rem; text-align: center; }
    .footer-links { width: 100%; justify-content: center; }
    .social-links { justify-content: center !important; }
    
    .cta-btn { padding: 1rem 2rem; font-size: 0.75rem; letter-spacing: 2px; }
    
    .cart-notification {
        left: 20px;
        right: 20px;
        bottom: 20px;
        min-width: auto;
        padding: 1rem;
    }
    .notify-name { font-size: 1.1rem; }

    .checkout-footer { flex-direction: column; gap: 2rem; width: calc(100% - 40px); bottom: 20px; }
    .total-price span:last-child { font-size: 2rem; }
}

/* --- CART NOTIFICATION & BADGE --- */
.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--accent);
    color: var(--primary);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.cart-notification {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 1.2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    z-index: 10000;
    transform: translateY(120%) scale(0.9);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 320px;
    color: var(--primary);
}

.cart-notification.active {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.notify-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.notify-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notify-body p {
    margin: 0;
}

.notify-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 4px !important;
}

.notify-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    text-transform: uppercase;
}

.cart-notification i {
    color: #27ae60;
    font-size: 1.5rem;
    margin-left: auto;
}

@media (max-width: 768px) {
    .cart-notification {
        left: 20px;
        right: 20px;
        bottom: 20px;
        min-width: auto;
    }
}



/* From Uiverse.io by Praashoo7 */ 
/* CodePen Card */

.card {
  width: 15em;
  height: 10em;
  background-color: #252525;
  border-radius: 7px;
  cursor: pointer;
}

.fl {
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  transition: .2s ease-in-out;
}

.fl:hover .fullscreen {
  scale: 1.2;
}

.fl:hover .fullscreen_svg {
  fill: white;
}

.fullscreen {
  width: 1.5em;
  height: 1.5em;
  border-radius: 5px;
  background-color: #727890;
  margin: 1em;
  margin-right: 0.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s ease-in-out;
  box-shadow: 2px 2px 6px rgba(0,0,0,.4);
}

.fullscreen_svg {
  width: 15px;
  height: 15px;
  fill: rgb(177, 176, 176);
  transition: .2s ease-in-out;
}

.card_back {
  position: absolute;
  width: 15em;
  height: 13em;
  background-color: rgba(30, 31, 38, 0.575);
  border-radius: 7px;
  margin-top: -5em;
  margin-left: 0.7em;
  transition: .2s ease-in-out;
  z-index: -1;
}

.main:hover .card_back {
  margin-top: -6.25em;
  margin-left: 0em;
  scale: 1.1;
  height: 15.25em;
  cursor: pointer;
}

.main:hover .fl {
  opacity: 1;
  cursor: pointer;
  margin-right: 0.5em;
}

.data {
  display: flex;
  flex-direction: row;
  margin-top: 1em;
}

.img {
  width: 2.25em;
  height: 2.25em;
  background-color: #252525;
  border-radius: 5px;
  overflow: hidden;
}

.text {
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin-left: 0.5em;
  font-family: Montserrat;
  color: white;
}

.text_m {
  font-weight: bold;
  font-size: 0.9em;
}

.text_s {
  font-size: 0.7em;
}

.btns {
  display: flex;
  gap: 0.5em;
  transition: .2s ease-in-out;
}

.likes {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5em;
  height: 1.4em;
  border-radius: 4px;
  margin-top: -0.5em;
  opacity: 0;
  background-color: #444857;
  transition: .2s ease-in-out;
}

.likes_text {
  font-family: Montserrat;
  font-size: 0.8em;
  margin-left: 0.25em;
  color: white;
}

.likes_svg {
  width: 12px;
  height: 12px;
  fill: white;
}

.likes:hover {
  background-color: #5A5F73;
  cursor: pointer;
}

.comments {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5em;
  height: 1.4em;
  border-radius: 4px;
  margin-top: -0.5em;
  opacity: 0;
  background-color: #444857;
  transition: .24s ease-in-out;
}

.comments_text {
  font-family: Montserrat;
  font-size: 0.8em;
  margin-left: 0.25em;
  color: white;
}

.comments_svg {
  width: 12px;
  height: 12px;
  fill: white;
}

.comments:hover {
  background-color: #5A5F73;
  cursor: pointer;
}

.views {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3em;
  height: 1.4em;
  border-radius: 4px;
  margin-top: -0.5em;
  opacity: 0;
  background-color: #444857;
  transition: .28s ease-in-out;
}

.views_text {
  font-family: Montserrat;
  font-size: 0.8em;
  margin-left: 0.25em;
  color: white;
}

.views_svg {
  width: 12px;
  height: 12px;
  fill: white;
}

.views:hover {
  background-color: #5A5F73;
  cursor: pointer;
}

.main:hover .likes {
  margin-top: 0.5em;
  opacity: 1;
}

.main:hover .comments {
  margin-top: 0.5em;
  opacity: 1;
}

.main:hover .views {
  margin-top: 0.5em;
  opacity: 1;
}



/* The Main Switch */

.card_content {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The switch - the box around the slider */
.switch_738 {
  font-size: 13px;
  position: relative;
  display: inline-block;
  width: 1.2em;
  height: 3.3em;
}

/* Hide default HTML checkbox */
.switch_738 .chk_738 {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider_738 {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 5px;
}

.slider_738:before {
  position: absolute;
  content: "";
  height: .5em;
  width: 2.4em;
  border-radius: 5px;
  left: -0.6em;
  top: 0.2em;
  background-color: white;
  box-shadow: 0 6px 7px rgba(0,0,0,0.3);
  transition: .4s;
}

.slider_738:before, .slider_738:after {
  content: "";
  display: block;
}

.slider_738:after {
  background: linear-gradient(transparent 50%, rgba(255, 255, 255, 0.15) 0) 0 50% / 50% 100%,
		repeating-linear-gradient(90deg,rgb(255, 255, 255) 0,rgb(255, 255, 255),rgb(255, 255, 255) 20%,rgb(255, 255, 255) 20%,rgb(255, 255, 255) 40%) 0 50% / 50% 100%,
		radial-gradient(circle at 50% 50%,rgb(255, 255, 255) 25%, transparent 26%);
  background-repeat: no-repeat;
  border: 0.25em solid transparent;
  border-left: 0.4em solid #ffffff;
  border-right: 0 solid transparent;
  transition: border-left-color 0.1s 0.3s ease-out, transform 0.3s ease-out;
  transform: translateX(-22.5%) rotate(90deg);
  transform-origin: 25% 50%;
  position: relative;
  top: 0.5em;
  left: 0.55em;
  width: 2em;
  height: 1em;
  box-sizing: border-box;
}

.chk_738:checked + .slider_738 {
  background-color: limegreen;
}

.chk_738:focus + .slider_738 {
  box-shadow: 0 0 1px limegreen;
}

.chk_738:checked + .slider_738:before {
  transform: translateY(2.3em);
}

.chk_738:checked + .slider_738:after {
  transform: rotateZ(90deg) rotateY(180deg) translateY(0.45em) translateX(-1.4em);
}


/* === CodePen Card Theme Switch Styles === */

.product-card {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.product-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

.main-card-ui {
  position: relative;
  width: 100%;
}

.card-ui-top {
  width: 100%;
  height: 280px;
  background-color: #252525;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.fl {
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  transition: .2s ease-in-out;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
}

.fl:hover .fullscreen {
  scale: 1.2;
}

.fl:hover .fullscreen_svg {
  fill: white;
}

.fullscreen {
  width: 1.5em;
  height: 1.5em;
  border-radius: 5px;
  background-color: #727890;
  margin: 1em;
  margin-right: 0.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s ease-in-out;
  box-shadow: 2px 2px 6px rgba(0,0,0,.4);
}

.fullscreen_svg {
  width: 15px;
  height: 15px;
  fill: rgb(177, 176, 176);
  transition: .2s ease-in-out;
}

.card_back {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 31, 38, 0.575);
  border-radius: 12px;
  top: -15px;
  left: 10px;
  transition: .2s ease-in-out;
  z-index: -1;
}

.main-card-ui:hover .card_back {
  top: -25px;
  left: 0;
  scale: 1.05;
  height: calc(100% + 30px);
  cursor: pointer;
}

.main-card-ui:hover .fl {
  opacity: 1;
  cursor: pointer;
  margin-right: 0.5em;
}

.card_content {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.main-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.data-row {
  display: flex;
  flex-direction: row;
  margin-top: 1em;
}

.data-row .text {
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin-left: 0.5em;
  color: #333;
  font-family: 'Outfit', sans-serif;
}

.data-row .text_m {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--primary);
}

.data-row .text_s {
  font-size: 1rem;
  color: #666;
  margin-top: 5px;
}

.btns {
  display: flex;
  gap: 0.5em;
  transition: .2s ease-in-out;
  margin-top: 1em;
  opacity: 0;
  transform: translateY(10px);
}

.main-card-ui:hover .btns {
  opacity: 1;
  transform: translateY(0);
}

/* === CodePen Social Links Styles === */
.social-links, .flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-btn {
  cursor: pointer;
  height: 50px;
  width: 50px;
  font-family: 'Outfit', sans-serif;
  color: #333;
  border-radius: 10px;
  box-shadow: 0px 10px 10px rgba(0,0,0,0.1);
  background: white;
  margin: 5px;
  transition: 0.3s;
  justify-content: center;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.social-btn i {
  font-size: 24px;
}

.social-btn span {
  width: 0px;
  overflow: hidden;
  transition: 0.3s;
  text-align: center;
  margin-left: 0px;
  white-space: nowrap;
  opacity: 0;
}

.social-btn:hover {
  width: 150px;
  border-radius: 5px;
}

.social-btn:hover span {
  padding: 2px;
  width: 80px;
  margin-left: 5px;
  opacity: 1;
}

#instagram i { color: #E1306C; }
#linkedin i { color: #0e76a8; }
#github i { color: #333; }
#facebook i { color: #1877F2; }
#twitter i { color: #1da1f2; }
