/* ===================================
   PinkyPad - Landing Page Styles
   Brand Colors & Design System
   =================================== */

:root {
    /* Brand Colors - Darker Pink Tones */
    --pink-light: #E8A5E0;
    --pink-dark: #D980CF;
    --purple: #9B6BBF;
    --blue-light: #B6E4F4;
    --teal-slate: #688B97;
    --cream-white: #FFFFFF;
    --slate-gray: #C5C9D4;
    --slate-dark: #8891A5;
    --rose-accent: #C7728F;
    --deep-purple: #2D2438;

    /* Functional Colors */
    --bg-dark: rgba(45, 36, 56, 0.95);
    --bg-glass: rgba(232, 165, 224, 0.12);
    --bg-glass-hover: rgba(232, 165, 224, 0.22);
    --text-primary: #FFFFFF;
    --text-secondary: #D5D8E0;
    --text-body: #E8E9ED;
    --border-glass: rgba(232, 165, 224, 0.3);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #E8A5E0 0%, #9B6BBF 50%, #C7728F 100%);
    --gradient-button: linear-gradient(135deg, #D980CF 0%, #9B6BBF 100%);
    --gradient-glow: radial-gradient(circle, rgba(232, 165, 224, 0.4) 0%, transparent 70%);

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 100px;
    --gap: 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* ===================================
   Reset & Base Styles
   =================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--deep-purple);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   Utility Classes
   =================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.glass-card:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(243, 193, 239, 0.35);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--deep-purple) 0%, rgba(67, 54, 80, 0.95) 50%, var(--deep-purple) 100%);
    padding-top: 80px;
    padding-bottom: 40px;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(232, 165, 224, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 40px 20px;
    z-index: 2;
}

.hero-title {
    margin-bottom: 24px;
}

.title-main {
    display: block;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    animation: fadeInUp 0.8s ease 0.2s both;
    line-height: 1.6;
}

/* Coming Soon Section */
.coming-soon-container {
    position: relative;
    display: inline-block;
    margin-top: 20px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.coming-soon-text {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    z-index: 2;
    padding: 20px 40px;
    background-color: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(232, 165, 224, 0.3);
    display: inline-block;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--pink-light);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--pink-light);
    border-radius: 4px;
    animation: scroll 2s infinite;
}

/* ===================================
   Videos Section
   =================================== */

.videos-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(to bottom, var(--deep-purple), rgba(67, 54, 80, 0.9));
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.carousel-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.carousel-slide.active {
    opacity: 1;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(45, 36, 56, 0.9) 0%, transparent 100%);
    padding: 40px 30px 70px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1;
}

.video-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--pink-light);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    color: var(--pink-light);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition-normal);
    opacity: 0.8;
}

.carousel-btn:hover {
    opacity: 1;
    background: var(--bg-glass-hover);
    border-color: var(--pink-light);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(232, 165, 224, 0.4);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.carousel-btn-prev {
    left: 20px;
}

.carousel-btn-next {
    right: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 15;
    background: rgba(45, 36, 56, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-glass);
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
    padding: 0;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--pink-light);
    border-color: var(--pink-light);
    box-shadow: 0 0 10px rgba(232, 165, 224, 0.6);
    transform: scale(1.3);
}

/* ===================================
   Footer
   =================================== */

.footer {
    padding: 40px 0;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border-glass);
    position: relative;
    z-index: 1;
}

.footer-content {
    text-align: center;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===================================
   Animations
   =================================== */

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

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .hero {
        min-height: 80vh;
        padding-top: 60px;
    }

    .scroll-indicator {
        display: none;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }

    .carousel-btn-prev {
        left: 10px;
    }

    .carousel-btn-next {
        right: 10px;
    }

    .carousel-indicators {
        bottom: 15px;
        padding: 8px 12px;
        gap: 8px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .video-overlay {
        padding: 30px 20px 60px;
    }

    .video-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .coming-soon-text {
        padding: 16px 30px;
        font-size: 1.25rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 16px;
    }

    .hero {
        min-height: 70vh;
        padding-top: 40px;
    }

    .videos-section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .carousel-container {
        border-radius: var(--radius-md);
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }

    .carousel-indicators {
        bottom: 10px;
        padding: 6px 10px;
        gap: 6px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .video-overlay {
        padding: 20px 15px 50px;
    }

    .video-title {
        font-size: 1.25rem;
    }

    .coming-soon-text {
        padding: 12px 20px;
        font-size: 1rem;
        letter-spacing: 1.5px;
    }
}

/* ===================================
   Touch Support
   =================================== */

@media (hover: none) and (pointer: coarse) {
    .carousel-btn {
        opacity: 1;
    }

    .carousel-btn:active {
        transform: translateY(-50%) scale(0.9);
    }
}

