/* ============================================
   SKIPRR — PRE-LAUNCH / BREWING PAGE
   Warm Espresso + Amber Luxury Aesthetic
   ============================================ */

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Outfit', sans-serif;
    background: #0C0806;
    color: #F5EDE4;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ============================================
   AMBIENT BACKGROUND
   ============================================ */
.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.grain-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

.warm-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #D4A574 0%, transparent 70%);
    top: -200px;
    left: 20%;
    animation: glowDrift1 12s ease-in-out infinite;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #8B5E3C 0%, transparent 70%);
    bottom: -100px;
    right: 10%;
    animation: glowDrift2 15s ease-in-out infinite;
}

.glow-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #C68B59 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: glowDrift3 10s ease-in-out infinite;
}

@keyframes glowDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, 30px) scale(1.1); }
}

@keyframes glowDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, -20px) scale(1.05); }
}

@keyframes glowDrift3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.1; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.18; }
}

/* ============================================
   PAGE LAYOUT — SPLIT VIEW
   ============================================ */
.page-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* LEFT: Brew Section (70%) */
.brew-section {
    flex: 0 0 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
    border-right: 1px solid rgba(196, 154, 108, 0.08);
}

/* RIGHT: Actions Section (30%) */
.actions-section {
    flex: 0 0 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    background: rgba(18, 13, 10, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* ============================================
   LOGO
   ============================================ */
.logo-area {
    position: absolute;
    top: 2rem;
    left: 2.5rem;
}

.skiprr-logo {
    height: 36px;
    width: auto;
    filter: brightness(1.1);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.skiprr-logo:hover {
    opacity: 1;
}

/* ============================================
   COFFEE SCENE
   ============================================ */
.coffee-scene {
    position: relative;
    width: 260px;
    height: 320px;
    margin-bottom: 2.5rem;
}

/* ---- STEAM ---- */
.steam-container {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 120px;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.steam {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.steam span {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(210, 180, 140, 0.25);
    animation: steamRise 2.4s ease-out infinite;
}

.steam-1 span { animation-delay: 0s, 0.3s, 0.6s, 0.9s; }
.steam-1 span:nth-child(1) { animation-delay: 0s; }
.steam-1 span:nth-child(2) { animation-delay: 0.4s; }
.steam-1 span:nth-child(3) { animation-delay: 0.8s; }
.steam-1 span:nth-child(4) { animation-delay: 1.2s; }

.steam-2 span:nth-child(1) { animation-delay: 0.2s; }
.steam-2 span:nth-child(2) { animation-delay: 0.6s; }
.steam-2 span:nth-child(3) { animation-delay: 1.0s; }
.steam-2 span:nth-child(4) { animation-delay: 1.4s; }

.steam-3 span:nth-child(1) { animation-delay: 0.1s; }
.steam-3 span:nth-child(2) { animation-delay: 0.5s; }
.steam-3 span:nth-child(3) { animation-delay: 0.9s; }
.steam-3 span:nth-child(4) { animation-delay: 1.3s; }

@keyframes steamRise {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    15% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.3;
        transform: translateY(-50px) scale(1.2) translateX(5px);
    }
    100% {
        opacity: 0;
        transform: translateY(-110px) scale(1.8) translateX(-3px);
    }
}

/* ---- CUP ---- */
.cup {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-55%);
}

.cup-body {
    width: 140px;
    height: 110px;
    background: linear-gradient(180deg, #F5EDE4 0%, #E8DDD0 40%, #D9CCBC 100%);
    border-radius: 6px 6px 40px 40px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        0 0 60px rgba(196, 154, 108, 0.1);
}

/* Coffee liquid inside */
.coffee-liquid {
    position: absolute;
    bottom: 0;
    left: 4px;
    right: 4px;
    height: 70%;
    background: linear-gradient(180deg, #5C3A1E 0%, #3E2218 60%, #2C1810 100%);
    border-radius: 0 0 36px 36px;
    overflow: hidden;
}

.coffee-wave {
    position: absolute;
    top: -6px;
    left: -10%;
    width: 120%;
    height: 20px;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(196, 154, 108, 0.35) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(160, 120, 80, 0.25) 0%, transparent 60%);
    animation: coffeeWave 3s ease-in-out infinite;
    border-radius: 50%;
}

@keyframes coffeeWave {
    0%, 100% { transform: translateX(0) rotate(-1deg); }
    25% { transform: translateX(8px) rotate(0.5deg); }
    75% { transform: translateX(-8px) rotate(-0.5deg); }
}

/* Coffee bubbles */
.coffee-bubbles {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    top: 40px;
    z-index: 2;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(196, 154, 108, 0.2);
    border: 1px solid rgba(196, 154, 108, 0.15);
    animation: bubbleFloat 4s ease-in-out infinite;
}

.b1 { width: 6px; height: 6px; left: 20%; bottom: 10px; animation-delay: 0s; }
.b2 { width: 4px; height: 4px; left: 50%; bottom: 5px; animation-delay: 0.8s; }
.b3 { width: 5px; height: 5px; left: 70%; bottom: 15px; animation-delay: 1.6s; }
.b4 { width: 3px; height: 3px; left: 35%; bottom: 8px; animation-delay: 2.4s; }
.b5 { width: 4px; height: 4px; left: 60%; bottom: 20px; animation-delay: 3.2s; }

@keyframes bubbleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    20% {
        opacity: 0.7;
        transform: translateY(-5px) scale(1);
    }
    80% {
        opacity: 0.3;
        transform: translateY(-20px) scale(0.8);
    }
}

/* Cup handle */
.cup-handle {
    position: absolute;
    right: -30px;
    top: 18px;
    width: 35px;
    height: 50px;
    border: 6px solid #E0D3C4;
    border-left: none;
    border-radius: 0 25px 25px 0;
    box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.2);
}

/* Saucer */
.saucer {
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 16px;
    background: linear-gradient(180deg, #E8DDD0 0%, #D4C8B8 100%);
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

.saucer::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 190px;
    height: 6px;
    background: linear-gradient(180deg, #F0E6DA 0%, #E0D3C4 100%);
    border-radius: 50%;
}

/* ---- COFFEE BEANS ---- */
.beans {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
}

.bean {
    position: absolute;
    opacity: 0.5;
    animation: beanFloat 6s ease-in-out infinite;
}

.bean-1 {
    bottom: 0;
    left: 10px;
    transform: rotate(-25deg);
    animation-delay: 0s;
}

.bean-2 {
    bottom: 10px;
    right: 20px;
    transform: rotate(35deg);
    animation-delay: 1.5s;
}

.bean-3 {
    bottom: -5px;
    left: 50%;
    transform: rotate(15deg) translateX(60px);
    animation-delay: 3s;
}

.bean-4 {
    bottom: 5px;
    left: 30px;
    transform: rotate(-40deg);
    animation-delay: 4.5s;
}

@keyframes beanFloat {
    0%, 100% { transform: translateY(0) rotate(var(--rotation, -25deg)); opacity: 0.4; }
    50% { transform: translateY(-4px) rotate(var(--rotation, -25deg)); opacity: 0.6; }
}

/* ============================================
   BREW MESSAGE
   ============================================ */
.brew-message {
    text-align: center;
    max-width: 520px;
    margin-bottom: 1.5rem;
}

.brew-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 400;
    line-height: 1.3;
    color: #F5EDE4;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

.brew-title em {
    font-style: italic;
    color: #D4A574;
    position: relative;
}

.brew-title em::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4A574, transparent);
    opacity: 0.5;
}

.brew-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(245, 237, 228, 0.55);
    letter-spacing: 0.02em;
}

/* ---- PROGRESS DOTS ---- */
.brew-progress {
    display: flex;
    gap: 10px;
    align-items: center;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D4A574;
    opacity: 0.3;
    animation: dotPulse 1.8s ease-in-out infinite;
}

.progress-dot:nth-child(2) { animation-delay: 0.3s; }
.progress-dot:nth-child(3) { animation-delay: 0.6s; }

@keyframes dotPulse {
    0%, 100% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* ============================================
   ACTIONS PANEL
   ============================================ */
.actions-inner {
    width: 100%;
    max-width: 380px;
}

.actions-header {
    margin-bottom: 1.5rem;
}

.actions-label {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(245, 237, 228, 0.7);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* ---- ACTION CARDS ---- */
.actions-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(245, 237, 228, 0.03);
    border: 1px solid rgba(196, 154, 108, 0.08);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: default;
}

.action-card:hover {
    background: rgba(245, 237, 228, 0.06);
    border-color: rgba(196, 154, 108, 0.18);
    transform: translateX(4px);
}

/* Highlight card (social accounts) */
.highlight-card {
    background: rgba(212, 165, 116, 0.08);
    border-color: rgba(212, 165, 116, 0.2);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.highlight-card:hover {
    background: rgba(212, 165, 116, 0.12);
    border-color: rgba(212, 165, 116, 0.3);
}

.action-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 165, 116, 0.12);
    border-radius: 10px;
    color: #D4A574;
}

.action-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(212, 165, 116, 0.7);
    border: 1px solid rgba(212, 165, 116, 0.15);
    border-radius: 8px;
    background: rgba(212, 165, 116, 0.04);
}

.action-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.action-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    color: #F5EDE4;
    line-height: 1.3;
}

.action-meta {
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 300;
    color: rgba(245, 237, 228, 0.4);
}

.action-link {
    color: #D4A574;
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 165, 116, 0.3);
    transition: all 0.2s ease;
}

.action-link:hover {
    color: #E4BF94;
    border-bottom-color: #E4BF94;
}

.action-badge {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #D4A574;
    color: #1A110A;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 50%;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 165, 116, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(212, 165, 116, 0); }
}

/* ---- FOOTER ---- */
.actions-footer {
    margin-top: 2rem;
    text-align: center;
}

.play-around {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.3rem;
    font-style: italic;
    color: rgba(212, 165, 116, 0.6);
    letter-spacing: 0.02em;
}

.wink {
    display: inline-block;
    font-style: normal;
    animation: winkBounce 3s ease-in-out infinite;
}

@keyframes winkBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* ============================================
   ENTRANCE ANIMATIONS
   ============================================ */
.brew-section {
    animation: fadeSlideUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.actions-section {
    animation: fadeSlideUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.action-card:nth-child(1) { animation: cardSlideIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both; }
.action-card:nth-child(2) { animation: cardSlideIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.8s both; }
.action-card:nth-child(3) { animation: cardSlideIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both; }
.action-card:nth-child(4) { animation: cardSlideIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1.0s both; }
.action-card:nth-child(5) { animation: cardSlideIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1.1s both; }
.action-card:nth-child(6) { animation: cardSlideIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1.2s both; }

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

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

/* ============================================
   RESPONSIVE — TABLET & MOBILE
   ============================================ */
@media (max-width: 1024px) {
    .page-wrapper {
        flex-direction: column;
    }

    .brew-section {
        flex: none;
        min-height: 65vh;
        border-right: none;
        border-bottom: 1px solid rgba(196, 154, 108, 0.08);
        padding: 2rem 1.5rem;
    }

    .actions-section {
        flex: none;
        padding: 2rem 1.5rem 3rem;
    }

    .actions-inner {
        max-width: 500px;
        margin: 0 auto;
    }

    .logo-area {
        top: 1.5rem;
        left: 1.5rem;
    }
}

@media (max-width: 640px) {
    .brew-section {
        min-height: 55vh;
        padding: 1.5rem 1rem;
    }

    .coffee-scene {
        width: 200px;
        height: 260px;
        margin-bottom: 1.5rem;
    }

    .cup-body {
        width: 110px;
        height: 88px;
    }

    .cup-handle {
        right: -24px;
        top: 14px;
        width: 28px;
        height: 40px;
        border-width: 5px;
    }

    .saucer {
        width: 144px;
        height: 13px;
    }

    .saucer::before {
        width: 152px;
        height: 5px;
    }

    .brew-title {
        font-size: 1.5rem;
    }

    .brew-subtitle {
        font-size: 0.95rem;
    }

    .actions-section {
        padding: 1.5rem 1rem 2.5rem;
    }

    .action-card {
        padding: 12px 14px;
        gap: 12px;
    }

    .action-title {
        font-size: 0.85rem;
    }

    .action-meta {
        font-size: 0.72rem;
    }

    .logo-area {
        top: 1rem;
        left: 1rem;
    }

    .skiprr-logo {
        height: 28px;
    }
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(196, 154, 108, 0.2);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(196, 154, 108, 0.35);
}

/* ============================================
   SELECTION STYLING
   ============================================ */
::selection {
    background: rgba(212, 165, 116, 0.3);
    color: #F5EDE4;
}
