/* ===== CSS Custom Properties ===== */
:root {
    /* Colors */
    --primary-green: #22c55e;
    --primary-purple: #a855f7;
    --primary-orange: #f97316;
    --primary-blue: #3b82f6;

    /* Background Colors */
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --bg-slate: #1e293b;
    --bg-gray: #334155;

    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-green), var(--primary-purple), var(--primary-orange));
    --gradient-hero: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-slate) 50%, var(--bg-gray) 100%);
    --gradient-card: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.8));

    /* Spacing */
    --container-max-width: 1200px;
    --container-padding: 1rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(34, 197, 94, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== Reset and Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--gradient-hero),
        url("https://images.unsplash.com/photo-1542751371-adc38448a05e?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80");
    background-size: cover, cover;
    background-position: center, center;
    background-attachment: fixed, fixed;
    background-repeat: no-repeat, no-repeat;
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
}

/* ===== Container ===== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===== Animations ===== */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes pulse3d {

    0%,
    100% {
        transform: scale(1) rotateY(0deg);
    }

    50% {
        transform: scale(1.05) rotateY(10deg);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: var(--shadow-glow);
    }

    50% {
        box-shadow: 0 0 40px rgba(34, 197, 94, 0.6);
    }
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes profileBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0px) scale(1);
    }

    25% {
        transform: translateX(-50%) translateY(-15px) scale(1.02);
    }

    50% {
        transform: translateX(-50%) translateY(-8px) scale(1.01);
    }

    75% {
        transform: translateX(-50%) translateY(-20px) scale(1.03);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes adBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* ===== Particle System ===== */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-green);
    border-radius: 50%;
    animation: particle-float linear infinite;
    pointer-events: none;
}

.particle:nth-child(odd) {
    background: var(--primary-purple);
    animation-duration: 8s;
}

.particle:nth-child(even) {
    background: var(--primary-orange);
    animation-duration: 12s;
}

/* ===== Mobile Menu ===== */
.mobile-menu-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    display: none;
    flex-direction: column;
    width: 30px;
    height: 30px;
    cursor: pointer;
    justify-content: space-between;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.mobile-nav.active {
    display: flex;
    opacity: 1;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-nav .nav-link {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-nav .nav-link:hover {
    color: var(--primary-green);
    transform: scale(1.1);
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
    transition: var(--transition-smooth);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.brand-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    background: var(--gradient-primary);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    text-decoration: none;
}

.desktop-nav {
    display: flex;
    gap: 2rem;
}

.desktop-nav .nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
}

.desktop-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: var(--transition-smooth);
}

.desktop-nav .nav-link:hover {
    color: var(--text-primary);
}

.desktop-nav .nav-link:hover::after {
    width: 100%;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    backdrop-filter: blur(10px);
    border-radius: 50%;
    opacity: 0.6;
}

.floating-1 {
    top: 15%;
    left: 10%;
    width: 80px;
    height: 80px;
    background: rgba(34, 197, 94, 0.2);
    animation: float 8s ease-in-out infinite;
}

.floating-2 {
    top: 25%;
    right: 15%;
    width: 60px;
    height: 60px;
    background: rgba(168, 85, 247, 0.2);
    border-radius: var(--radius-lg);
    animation: float 6s ease-in-out infinite reverse;
    transform: rotate(45deg);
}

.floating-3 {
    bottom: 30%;
    left: 20%;
    width: 100px;
    height: 100px;
    background: rgba(249, 115, 22, 0.2);
    animation: pulse3d 4s ease-in-out infinite;
}

.floating-4 {
    bottom: 15%;
    right: 10%;
    width: 70px;
    height: 70px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-md);
    animation: float 10s ease-in-out infinite;
    transform: rotate(12deg);
}

.floating-5 {
    top: 50%;
    left: 5%;
    width: 40px;
    height: 40px;
    background: rgba(34, 197, 94, 0.3);
    animation: pulse3d 5s ease-in-out infinite reverse;
}

.floating-6 {
    top: 60%;
    right: 5%;
    width: 50px;
    height: 50px;
    background: rgba(168, 85, 247, 0.3);
    border-radius: var(--radius-sm);
    animation: float 7s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 var(--container-padding);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    min-height: 70vh;
}

.hero-text {
    flex: 1;
    text-align: left;
    animation: slideInUp 1s ease-out;
}

.hero-title {
    font-family: "Orbitron", monospace;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    text-shadow: 0 0 30px rgba(34, 197, 94, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.highlight-green {
    color: var(--primary-green);
    font-weight: 600;
}

.highlight-purple {
    color: var(--primary-purple);
    font-weight: 600;
}

/* test */

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* ===== Button Styles ===== */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

.btn::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: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-green);
    color: white;
    box-shadow: var(--shadow-glow);
    animation: glow 2s ease-in-out infinite;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
}

.btn-secondary:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
}

.btn-basic {
    background: var(--primary-green);
    color: white;
}

.btn-premium {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-orange));
    color: white;
}

.btn-success {
    background: var(--primary-green);
    color: white;
}

.btn-cancel {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-secondary);
}

.btn-cancel:hover {
    background: var(--bg-slate);
    color: var(--text-primary);
}

.btn-purchase {
    /* background: linear-gradient(135deg, var(--primary-green), var(--primary-blue)); */
    background: transparent;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.btn-purchase:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
}

/* ===== Section Styles ===== */
section {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: slideInUp 1s ease-out;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

.section-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== Video Ads Section ===== */
.video-ads-section {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(15px);
    padding: 4rem 0;
    border-top: 1px solid rgba(34, 197, 94, 0.2);
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

.video-ads-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.video-ad-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(34, 197, 94, 0.3);
    transition: var(--transition-smooth);
    animation: adBounce 4s ease-in-out infinite;
}

.video-ad-item:nth-child(2) {
    animation-delay: 2s;
    border-color: rgba(168, 85, 247, 0.3);
}

.video-ad-item:nth-child(3) {
    animation-delay: 1s;
    border-color: rgba(249, 115, 22, 0.3);
}

.video-ad-item:nth-child(4) {
    animation-delay: 3s;
    border-color: rgba(34, 197, 94, 0.3);
}

.video-ad-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(34, 197, 94, 0.4);
    border-color: var(--primary-green);
}

.video-ad-item:nth-child(2):hover {
    border-color: var(--primary-purple);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(168, 85, 247, 0.4);
}

.video-ad-item:nth-child(3):hover {
    border-color: var(--primary-orange);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(249, 115, 22, 0.4);
}

.video-ad-item:nth-child(4):hover {
    border-color: var(--primary-green);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(34, 197, 94, 0.4);
}

.video-ad-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.ad-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.video-ad-item:hover .ad-video {
    transform: scale(1.05);
}

.video-ad-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 2rem;
    transform: translateY(0);
    transition: var(--transition-smooth);
}

.ad-caption {
    text-align: center;
    position: relative;
    z-index: 2;
}

.ad-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.ad-sale-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-orange), #ef4444);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Products Section ===== */
.products-section {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    padding: 5rem 0;
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--gradient-card);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(51, 65, 85, 0.5);
    transition: var(--transition-smooth);
    position: relative;
    animation: slideInUp 1s ease-out;
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(168, 85, 247, 0.1));
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(34, 197, 94, 0.3);
    border-color: var(--primary-green);
}

.product-card:nth-child(2):hover {
    border-color: var(--primary-purple);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(168, 85, 247, 0.3);
}

.product-card:nth-child(3):hover {
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(249, 115, 22, 0.3);
}

.product-card:nth-child(4):hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(59, 130, 246, 0.3);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.5);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    animation: pulse 2s infinite;
}

.badge-purple {
    background: var(--primary-purple);
}

.badge-orange {
    background: var(--primary-orange);
}

.badge-blue {
    background: var(--primary-blue);
}

.product-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    transition: var(--transition-smooth);
}

.product-card:hover .product-title {
    color: var(--primary-green);
}

.product-card:nth-child(2):hover .product-title {
    color: var(--primary-purple);
}

.product-card:nth-child(3):hover .product-title {
    color: var(--primary-orange);
}

.product-card:nth-child(4):hover .product-title {
    color: var(--primary-blue);
}

.product-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 40px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-green);
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
}

.btn-product {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
    flex-shrink: 0;
}

.btn-product:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.5);
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
}

/* Products Section Responsive */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 100%;
    }

    .product-image-wrapper {
        height: 180px;
    }

    .product-content {
        padding: 1rem;
    }

    .product-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .product-description {
        font-size: 0.75rem;
        margin-bottom: 1rem;
        min-height: 35px;
    }

    .product-footer {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .product-price {
        font-size: 1.25rem;
        text-align: center;
    }

    .btn-product {
        width: 85%;
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
    }

    .product-badge {
        top: 10px;
        right: 10px;
        padding: 0.35rem 0.75rem;
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .products-section {
        padding: 3rem 0;
    }

    .products-grid {
        gap: 0.75rem;
    }

    .product-image-wrapper {
        height: 150px;
    }

    .product-content {
        padding: 0.75rem;
    }

    .product-title {
        font-size: 0.9rem;
    }

    .product-description {
        font-size: 0.7rem;
        min-height: 30px;
    }

    .product-price {
        font-size: 1.1rem;
    }

    .btn-product {
        width: 80%;
        padding: 0.55rem 0.75rem;
        font-size: 0.7rem;
    }
}

/* ===== Subscription Section ===== */
.subscription-section {
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(10px);
}

.subscription-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.subscription-card {
    background: var(--gradient-card);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 1px solid rgba(51, 65, 85, 0.5);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.subscription-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(168, 85, 247, 0.1));
    opacity: 0;
    transition: var(--transition-smooth);
}

.subscription-card:hover::before {
    opacity: 1;
}

.subscription-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green);
}

.premium-card {
    border: 2px solid var(--primary-purple);
    position: relative;
}

.premium-card:hover {
    border-color: var(--primary-orange);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-orange);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.basic-card .card-title {
    color: var(--primary-green);
}

.premium-card .card-title {
    color: var(--primary-purple);
}

.price {
    text-align: center;
    margin-bottom: 2rem;
}

.amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.check {
    margin-right: 1rem;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.premium-card .check {
    color: var(--primary-purple);
}

/* ===== Gallery Section ===== */
.gallery-section {
    background: rgba(15, 23, 42, 0.5);
}

.featured-video {
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.video-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: slideInUp 1s ease-out;
}

.video-player {
    width: 100%;
    height: auto;
    display: block;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
}

.video-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.video-subtitle {
    color: var(--text-secondary);
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(51, 65, 85, 0.3);
    transition: var(--transition-smooth);
    animation: slideInUp 1s ease-out;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

/* ===== Social Media Section ===== */
.social-section {
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(10px);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.social-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: var(--gradient-card);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(51, 65, 85, 0.3);
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.social-icons::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(168, 85, 247, 0.1));
    opacity: 0;
    transition: var(--transition-smooth);
}

.social-icons:hover::before {
    opacity: 1;
}

.social-icons:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.social-icon-bg {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.social-icon:hover .social-icon-bg {
    animation: pulse3d 0.6s ease;
}

.social-symbol {
    font-size: 1.5rem;
    color: white;
}

.social-name {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.social-icon:hover .social-name {
    color: var(--text-primary);
}

/* Platform specific colors */
.facebook {
    background: #1877f2;
}

.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.whatsapp {
    background: #25d366;
}

.tiktok {
    background: #000000;
}

.spotify {
    background: #1db954;
}

.threads {
    background: #000000;
}

.youtube {
    background: #ff0000;
}

.discord {
    background: #5865f2;
}

/* ===== Bio Section ===== */
.bio-section {
    background: rgba(15, 23, 42, 0.5);
    position: relative;
    overflow: hidden;
}

.floating-bio-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-bio-image {
    position: absolute;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0.1;
    transition: var(--transition-smooth);
}

.floating-bio-image:hover {
    opacity: 0.3;
}

.floating-bio-1 {
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    animation: float 8s ease-in-out infinite;
}

.floating-bio-2 {
    top: 30%;
    right: 10%;
    width: 120px;
    height: 120px;
    animation: float 6s ease-in-out infinite reverse;
}

.floating-bio-3 {
    bottom: 30%;
    left: 15%;
    width: 80px;
    height: 80px;
    animation: pulse3d 4s ease-in-out infinite;
}

.floating-bio-4 {
    bottom: 10%;
    right: 5%;
    width: 90px;
    height: 90px;
    animation: float 10s ease-in-out infinite;
}

.profile-image-container {
    position: relative;
    flex-shrink: 0;
    animation: profileBounce 3s ease-in-out infinite;
    order: 2;
}

.profile-image-wrapper {
    position: relative;
    width: 300px;
    height: 400px;
    border-radius: 32px;
    overflow: hidden;
    border: 4px solid rgba(34, 197, 94, 0.6);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.4), 0 0 60px rgba(168, 85, 247, 0.2), 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    background: rgba(0, 0, 0, 0.2);
}

.profile-image-wrapper:hover {
    transform: scale(1.05);
    border-color: rgba(168, 85, 247, 0.8);
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.6), 0 0 80px rgba(34, 197, 94, 0.3), 0 15px 40px rgba(0, 0, 0, 0.4);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-smooth);
}

.profile-image-wrapper:hover .profile-image {
    transform: scale(1.02);
}

.profile-glow {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 36px;
    background: linear-gradient(45deg, rgba(34, 197, 94, 0.3), rgba(168, 85, 247, 0.3), rgba(249, 115, 22, 0.3));
    background-size: 300% 300%;
    animation: gradient-shift 4s ease infinite;
    z-index: -1;
}

.bio-content {
    /* position: relative; */
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.bio-card {
    background: var(--gradient-card);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-xl);
    padding: 3rem;
    border: 1px solid rgba(51, 65, 85, 0.5);
    animation: slideInUp 1s ease-out;
}

.profile-image {
    margin-bottom: 2rem;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-green);
    box-shadow: var(--shadow-md);
}

.bio-text {
    margin-bottom: 2rem;
}

.bio-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.tag {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid;
}

.tag-green {
    background: rgba(34, 197, 94, 0.2);
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.tag-purple {
    background: rgba(168, 85, 247, 0.2);
    color: var(--primary-purple);
    border-color: var(--primary-purple);
}

.tag-orange {
    background: rgba(249, 115, 22, 0.2);
    color: var(--primary-orange);
    border-color: var(--primary-orange);
}

.tag-blue {
    background: rgba(59, 130, 246, 0.2);
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(51, 65, 85, 0.5);
    padding: 3rem 0;
}

.footer-content {
    text-align: center;
}

.footer-brand {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ===== Modal Styles ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--gradient-card);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(51, 65, 85, 0.5);
    max-width: 400px;
    width: 100%;
    overflow: hidden;
    animation: slideInUp 0.3s ease-out;
}

.modal-header {
    padding: 2rem 2rem 1rem 2rem;
    text-align: center;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-body {
    padding: 0 2rem 2rem 2rem;
}

.checkout-details {
    text-align: center;
    margin-bottom: 2rem;
}

.checkout-details div:first-child {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.checkout-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.checkout-billing {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.checkout-total {
    border-top: 1px solid rgba(51, 65, 85, 0.5);
    padding-top: 1rem;
    margin-bottom: 2rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.125rem;
}

.total-row span:first-child {
    color: var(--text-secondary);
}

.total-row span:last-child {
    font-weight: 700;
    color: var(--text-primary);
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ===== Responsive Design ===== */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }

    .modal-actions {
        flex-direction: row;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
    }
}

@media (min-width: 768px) {
    :root {
        --container-padding: 2rem;
    }

    .desktop-nav {
        display: flex;
    }

    .mobile-menu-toggle {
        display: none !important;
    }

    .social-grid {
        max-width: 600px;
    }
}

@media (min-width: 1024px) {
    .social-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 800px;
    }

    .image-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .header-content {
        justify-content: center;
        position: relative;
    }

    .mobile-menu-toggle {
        position: absolute;
        right: 0;
    }

    .subscription-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 400px;
    }

    .social-icons {
        padding: 1.5rem 1rem;
    }

    .social-icon-bg {
        width: 50px;
        height: 50px;
    }

    .social-symbol {
        font-size: 1.25rem;
    }

    .social-name {
        font-size: 0.75rem;
    }

    .bio-card {
        padding: 2rem 1.5rem;
    }

    .tags {
        gap: 0.5rem;
    }

    .tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    /* Video Ads Mobile Styles */
    .video-ads-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 350px;
    }

    .video-ad-container {
        height: 200px;
    }

    .ad-caption {
        padding: 0.75rem;
    }

    .ad-title {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .ad-sale-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
        margin-bottom: 0.5rem;
    }

    .btn-purchase {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
    }

    /* Enhanced mobile styles for very small screens */
    .video-ads-grid {
        max-width: 280px;
    }

    .video-ad-container {
        height: 180px;
    }

    .ad-title {
        font-size: 0.8rem;
    }

    .ad-sale-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }

    .btn-purchase {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .subscription-card {
        padding: 2rem 1.5rem;
    }

    .amount {
        font-size: 2.5rem;
    }

    .modal-content {
        margin: 1rem;
    }

    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }

    .social-grid {
        max-width: 300px;
    }

    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-dark: #000000;
        --bg-darker: #000000;
        --text-primary: #ffffff;
    }
}

@media print {

    .header,
    .floating-elements,
    .floating-bio-elements,
    .background-control,
    .mobile-menu-toggle,
    #particles-container {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .profile-image-container {
        left: 2%;
        top: 40%;
    }

    .hero-section {
        height: 70vh;
    }

    .profile-image-wrapper {
        width: 120px;
        height: 150px;
        border-width: 2px;
        border-radius: 16px;
    }

    .profile-glow {
        border-radius: 20px;
    }
}

/* Out of Stock Modal Styles - Fixed Version */
.modal-overlay {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-overlay.show {
    display: flex;
    /* Only show with flexbox when .show class is added */
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    max-height: 90vh;
    border: 2px solid #00ff88;
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #ff6b6b;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1001;
}

.modal-close:hover {
    color: #ff4757;
}

.modal-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.modal-content h3 {
    color: #00ff88;
    margin: 15px 0;
    font-size: 24px;
    font-weight: bold;
}

.modal-content p {
    color: #ffffff;
    margin: 15px 0 25px 0;
    line-height: 1.5;
}

.modal-ok-btn {
    background: linear-gradient(45deg, #00ff88, #00cc6a);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 100px;
}

.modal-ok-btn:hover {
    background: linear-gradient(45deg, #00cc6a, #00ff88);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.4);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile Perfect Centering */
@media (max-width: 768px) {
    .modal-overlay.show {
        padding: 15px;
        align-items: center;
        justify-content: center;
    }

    .modal-content {
        padding: 25px 20px;
        max-width: 90%;
        width: auto;
        min-width: 280px;
    }

    .modal-content h3 {
        font-size: 20px;
        margin: 10px 0;
    }

    .modal-content p {
        font-size: 14px;
        margin: 12px 0 20px 0;
    }

    .modal-icon {
        font-size: 40px;
        margin-bottom: 12px;
    }

    .modal-ok-btn {
        padding: 10px 25px;
        font-size: 14px;
    }

    .modal-close {
        top: 12px;
        right: 15px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .modal-overlay.show {
        padding: 10px;
    }

    .modal-content {
        padding: 20px 15px;
        max-width: 95%;
        min-width: 260px;
    }

    .modal-content h3 {
        font-size: 18px;
    }

    .modal-content p {
        font-size: 13px;
    }

    .modal-icon {
        font-size: 36px;
    }
}








.product-pricess {
    font-size: 1rem;
    font-weight: 900;
    color: var(--primary-green);
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
}