/* ============================================
   VIBEZ PAGE - ISOLATED STYLES
   Controlled chaos with maximum legibility
   ============================================ */

/* Page-level styles - dark background for contrast */
.vibez-page {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: #f0f0f0;
}

/* Hero Section */
.vibez-hero {
    text-align: center;
    padding: 120px 20px 40px;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 100%);
}

.vibez-hero-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    border: 8px solid #ff1744;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(255, 23, 68, 0.4),
                0 0 40px rgba(0, 255, 255, 0.2);
    transform: rotate(0deg);
    transition: transform 0.3s ease;
    margin-bottom: 40px;
}

.vibez-hero-image:hover {
    transform: scale(1.02);
}

.vibez-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 0 0 16px 0;
    background: linear-gradient(135deg, #ff1744 0%, #00e5ff 50%, #76ff03 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    letter-spacing: -1px;
}

.vibez-hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: #00e5ff;
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0, 229, 255, 0.5);
}

/* Content Container */
.vibez-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    position: relative;
}

/* Box Styling - The Core Chaotic Element */
.vibez-box {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a2e;
    padding: 32px;
    margin: 60px 0;
    border-radius: 8px;
    border: 6px solid;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    line-height: 1.7;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Add subtle texture */
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0,0,0,0.02) 10px, rgba(0,0,0,0.02) 20px);
    max-width: 650px;
    width: calc(50% - 40px);
}

.vibez-box:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
    transform: translateY(-4px) !important;
}

/* Corner decorations - little stars */
.vibez-box::before {
    content: "★";
    position: absolute;
    top: -8px;
    right: 20px;
    font-size: 2rem;
    z-index: 10;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

/* Box Color Variants - Bright Borders with Tinted Backgrounds */
.vibez-box-pink {
    border-color: #ff1744;
    background: linear-gradient(135deg, rgba(255, 240, 245, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
    box-shadow: 0 8px 32px rgba(255, 23, 68, 0.3),
                inset 0 0 0 1px rgba(255, 23, 68, 0.1);
    border-style: solid;
}

.vibez-box-pink::before {
    color: #ff1744;
}

.vibez-box-cyan {
    border-color: #00e5ff;
    background: linear-gradient(135deg, rgba(224, 251, 255, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
    box-shadow: 0 8px 32px rgba(0, 229, 255, 0.3),
                inset 0 0 0 1px rgba(0, 229, 255, 0.1);
    border-style: dashed;
}

.vibez-box-cyan::before {
    color: #00e5ff;
    content: "✦";
}

.vibez-box-lime {
    border-color: #76ff03;
    background: linear-gradient(135deg, rgba(245, 255, 224, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
    box-shadow: 0 8px 32px rgba(118, 255, 3, 0.3),
                inset 0 0 0 1px rgba(118, 255, 3, 0.1);
    border-style: solid;
}

.vibez-box-lime::before {
    color: #76ff03;
    content: "✨";
}

.vibez-box-orange {
    border-color: #ff6d00;
    background: linear-gradient(135deg, rgba(255, 243, 224, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
    box-shadow: 0 8px 32px rgba(255, 109, 0, 0.3),
                inset 0 0 0 1px rgba(255, 109, 0, 0.1);
    border-style: double;
}

.vibez-box-orange::before {
    color: #ff6d00;
    content: "⚡";
}

.vibez-box-purple {
    border-color: #d500f9;
    background: linear-gradient(135deg, rgba(250, 224, 255, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
    box-shadow: 0 8px 32px rgba(213, 0, 249, 0.3),
                inset 0 0 0 1px rgba(213, 0, 249, 0.1);
    border-style: solid;
}

.vibez-box-purple::before {
    color: #d500f9;
    content: "●";
}

.vibez-box-yellow {
    border-color: #ffd600;
    background: linear-gradient(135deg, rgba(255, 253, 224, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
    box-shadow: 0 8px 32px rgba(255, 214, 0, 0.3),
                inset 0 0 0 1px rgba(255, 214, 0, 0.1);
    border-style: solid;
}

.vibez-box-yellow::before {
    color: #ffd600;
    content: "☀";
}

/* Rotation Variants - Subtle Random-Looking Angles */
.vibez-rotate-1 {
    transform: rotate(-2.3deg);
}

.vibez-rotate-2 {
    transform: rotate(1.8deg);
}

.vibez-rotate-3 {
    transform: rotate(-1.2deg);
}

.vibez-rotate-4 {
    transform: rotate(2.5deg);
}

.vibez-rotate-5 {
    transform: rotate(-1.7deg);
}

.vibez-rotate-6 {
    transform: rotate(1.3deg);
}

.vibez-rotate-7 {
    transform: rotate(-2.1deg);
}

.vibez-rotate-8 {
    transform: rotate(1.5deg);
}

/* Horizontal Offset Variants - Varied Positioning with Vertical Overlap */
.vibez-offset-left {
    margin-left: 0;
    margin-right: auto;
    float: left;
    clear: none;
}

.vibez-offset-right {
    margin-left: auto;
    margin-right: 0;
    float: right;
    clear: none;
    margin-top: -40px;
}

/* First right box should align with first left box */
.vibez-box:nth-of-type(2).vibez-offset-right {
    margin-top: 60px;
}

/* Last box (Who This Works For) - make it more centered and prominent */
.vibez-box:nth-last-of-type(2).vibez-offset-left {
    margin-left: auto;
    margin-right: auto;
    float: none;
    width: calc(60% - 40px);
    max-width: 750px;
    clear: both;
}

.vibez-offset-center {
    margin-left: auto;
    margin-right: auto;
    clear: both;
    width: calc(60% - 40px);
    max-width: 750px;
    margin-top: 40px;
    margin-bottom: 60px;
}

/* Hand-drawn Arc Underline with Gradient */
.squiggle {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 30' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='arcGrad' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' style='stop-color:%23ff1744;stop-opacity:1' /%3E%3Cstop offset='50%25' style='stop-color:%23ff6d00;stop-opacity:1' /%3E%3Cstop offset='100%25' style='stop-color:%23ffd600;stop-opacity:1' /%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M5 22 Q 100 8, 195 20' stroke='url(%23arcGrad)' stroke-width='6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100% 30px;
    padding-bottom: 18px;
    display: inline;
}

/* Typography Inside Boxes */
.vibez-box-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 24px 0;
    color: #1a1a2e;
    border-bottom: 3px solid currentColor;
    padding-bottom: 12px;
}

.vibez-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #1a1a2e;
}

.vibez-box p {
    margin: 0 0 16px 0;
    font-size: 1.05rem;
}

.vibez-box p:last-child {
    margin-bottom: 0;
}

.vibez-item {
    margin-bottom: 24px;
}

.vibez-item:last-child {
    margin-bottom: 0;
}

.vibez-meta {
    font-size: 1.1rem;
    color: #1a1a2e;
}

.vibez-highlight {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-top: 24px !important;
}

/* Call to Action - Special Styling */
.vibez-cta {
    background: linear-gradient(135deg, #ff1744 0%, #d500f9 100%);
    color: #ffffff;
    padding: 48px 32px;
    margin: 60px auto 0 auto;
    border-radius: 16px;
    text-align: center;
    border: none;
    box-shadow: 0 16px 48px rgba(255, 23, 68, 0.4),
                0 0 80px rgba(213, 0, 249, 0.3);
    position: relative;
    clear: both;
    max-width: 800px;
}

.vibez-cta-question {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 32px 0;
    color: #ffffff;
}

.vibez-cta-email {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #1a1a2e;
    background: #ffffff;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.vibez-cta-email:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.vibez-cta-note {
    font-size: 1rem;
    margin: 32px 0 0 0;
    opacity: 0.9;
    font-style: italic;
    color: #ffffff;
}

/* Responsive Design - Simplify Chaos on Mobile */
@media (max-width: 768px) {
    .vibez-hero {
        padding: 40px 16px 24px;
    }

    .vibez-hero-title {
        font-size: 2.2rem;
    }

    .vibez-hero-subtitle {
        font-size: 1.3rem;
    }

    .vibez-hero-image {
        border-width: 6px;
        transform: rotate(0deg);
        max-width: 100%;
    }

    .vibez-content {
        padding: 24px 16px 60px;
    }

    .vibez-box {
        padding: 24px;
        margin: 24px 0;
        border-width: 4px;
        width: 100%;
        max-width: 100%;
        float: none;
    }

    /* Remove rotations and offsets on mobile for clarity */
    .vibez-rotate-1,
    .vibez-rotate-2,
    .vibez-rotate-3,
    .vibez-rotate-4,
    .vibez-rotate-5,
    .vibez-rotate-6,
    .vibez-rotate-7,
    .vibez-rotate-8 {
        transform: rotate(0deg);
    }

    .vibez-offset-left,
    .vibez-offset-right,
    .vibez-offset-center {
        margin-left: 0;
        margin-right: 0;
        margin-top: 24px;
        float: none;
        clear: both;
        width: 100%;
        max-width: 100%;
    }

    .vibez-box-title {
        font-size: 1.6rem;
    }

    .vibez-cta {
        padding: 32px 24px;
        margin-top: 40px;
    }

    .vibez-cta-question {
        font-size: 1.5rem;
    }

    .vibez-cta-email {
        font-size: 1.8rem;
        padding: 12px 24px;
    }
}

/* Print Styles - Remove Chaos for Printing */
@media print {
    .vibez-page {
        background: white;
        color: black;
    }

    .vibez-box {
        border-width: 2px;
        border-color: black !important;
        box-shadow: none;
        transform: none !important;
        margin: 20px 0 !important;
        page-break-inside: avoid;
    }

    .vibez-cta {
        background: white;
        color: black;
        border: 2px solid black;
        box-shadow: none;
    }

    .vibez-cta-email {
        background: white;
        color: black;
        border: 2px solid black;
    }
}
