/* Advent Calendar Landing Page Styles - Minimalist Design */

/* Logo - for advent calendar page */
.logo-header {
    height: 35px !important;
}

/* Canvas Background - above video but below stickers */
#pixiCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Main Content */
.advent-main {
    position: relative;
}

/* Section Color Schemes */
.section-light {
    background-color: #ffffff;
    position: relative;
}

.section-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(31, 41, 55, 0.08) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

.section-light > * {
    position: relative;
    z-index: 1;
}

/* Photo Cards with Yellow Labels */
.photo-card {
    position: relative;
    margin: 4rem auto;
    max-width: 600px;
}

.photo-card-inner {
    overflow: hidden;
    border-radius: 20px;
}

.photo-card img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    object-position: center;
    transform: scale(1.15);
}

.photo-card.rotated-left {
    transform: rotate(-3deg);
}

.photo-card.rotated-right {
    transform: rotate(3deg);
}

.photo-label {
    position: absolute;
    background-color: #F6CB00;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 3px solid #1f2937;
    box-shadow: 4px 4px 0px rgba(31, 41, 55, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: 'Golos Text', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
    max-width: 320px;
    z-index: 5;
}

.photo-label.label-blue {
    background-color: #3b82f6;
    color: #ffffff;
}

.photo-label.label-green {
    background-color: #10b981;
    color: #ffffff;
}

.photo-label.label-pink {
    background-color: #ec4899;
    color: #ffffff;
}

.photo-label.label-purple {
    background-color: #8b5cf6;
    color: #ffffff;
}

.photo-label.label-top-left {
    top: -2rem;
    left: -2rem;
    transform: rotate(-5deg);
}

.photo-label.label-bottom-right {
    bottom: -2rem;
    right: -2rem;
    transform: rotate(4deg);
}

.photo-label.label-top-right {
    top: -2rem;
    right: -2rem;
    transform: rotate(5deg);
}

/* Add subtle pattern to yellow sections */
.whats-inside-section,
.why-telegram-section,
.seo-section {
    position: relative;
}

.whats-inside-section::before,
.why-telegram-section::before,
.seo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1.5px, transparent 1.5px);
    background-size: 25px 25px;
    pointer-events: none;
    z-index: 0;
}

.whats-inside-section > *,
.why-telegram-section > *,
.seo-section > * {
    position: relative;
    z-index: 1;
}

/* Typography */
.advent-h1 {
    font-family: 'Rubik Dirt', cursive;
    font-size: 7rem;
    font-weight: 400;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    transform: rotate(-2deg);
    position: relative;
}

.advent-h1-line {
    display: block;
}

/* Advent Title Image */
.advent-title-image-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.advent-title-image {
    max-width: 100%;
    height: auto;
    width: 900px;
    display: block;
    filter: drop-shadow(2px 4px 8px rgba(0, 0, 0, 0.4));
}

/* No Print Badge - properly anchored to image */
.no-print-badge {
    display: inline-block;
    background-color: #dc2626;
    color: white;
    padding: 0.6rem 1.75rem;
    font-family: 'Golos Text', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    transform: rotate(-8deg);
    position: absolute;
    top: 10%;
    right: -3rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    white-space: nowrap;
    z-index: 1;
}

.advent-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: #374151;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.advent-description {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.section-title {
    font-family: 'Rubik Dirt', cursive;
    font-size: 2.5rem;
    font-weight: 400;
    color: #1f2937;
    margin-bottom: 3rem;
}

/* Hero Video Section */
.hero-section-video {
    position: relative;
    width: 100%;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 2rem 0 2rem;
    z-index: 1;
}

.video-container {
    position: absolute;
    top: 2rem;
    left: 2rem;
    right: 2rem;
    bottom: 0;
    width: calc(100% - 4rem);
    height: calc(100% - 2rem);
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
    border-radius: 20px;
}

/* Noise texture overlay for video quality */
.video-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.15'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: overlay;
}

.hero-video-content {
    position: absolute;
    z-index: 3;
    text-align: center;
    padding: 4rem 2rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
}

.hero-video-content .advent-h1 {
    color: #ffffff;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4);
    margin-bottom: 2rem;
    font-family: 'Rubik Dirt', cursive !important;
}

.hero-video-content .advent-description {
    color: #ffffff;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.hero-video-content .social-proof {
    color: #ffffff;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-phone {
    flex-shrink: 0;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #000000;
    color: #F6CB00;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

.cta-button:hover {
    background-color: #1f2937;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Yellow CTA button for hero section */
.cta-hero {
    background-color: #F6CB00;
    color: #000000;
    box-shadow: 6px 6px 0px rgba(31, 41, 55, 1), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-hero:hover {
    background-color: #e0b900;
    color: #000000;
    box-shadow: 8px 8px 0px rgba(31, 41, 55, 1), 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.cta-large {
    font-size: 1.5rem;
    padding: 1.25rem 3rem;
}

/* Social Proof */
.social-proof {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    color: #374151;
}

/* Phone Mockup - simplified to show image only */
.phone-mockup {
    width: 350px;
    height: auto;
    position: relative;
}

.phone-screen {
    width: 100%;
    height: auto;
}

.telegram-preview {
    height: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 50px 15px 15px 15px;
}

.telegram-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.telegram-avatar {
    width: 45px;
    height: 45px;
    background-color: #F6CB00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: #1f2937;
}

.telegram-name {
    font-weight: 600;
    font-size: 1rem;
    color: #1f2937;
}

.telegram-message {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 12px 15px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    font-size: 0.875rem;
    line-height: 1.5;
    color: #374151;
}

.telegram-message p {
    margin-bottom: 8px;
}

.telegram-message p:last-child {
    margin-bottom: 0;
}

/* What's Inside Section */
.whats-inside-section {
    padding: 4rem 1rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-item {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    overflow: visible;
}

.feature-item:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-4px);
}

.feature-icon {
    color: #1f2937;
    stroke-width: 1.5;
    flex-shrink: 0;
}

/* Random rotations and sizes for icons - playful design */
.feature-item:nth-child(1) .feature-icon {
    width: 80px;
    height: 80px;
    transform: rotate(-4deg);
}

.feature-item:nth-child(2) .feature-icon {
    width: 80px;
    height: 80px;
    transform: rotate(5deg);
}

.feature-item:nth-child(3) .feature-icon {
    width: 80px;
    height: 80px;
    transform: rotate(-3deg);
}

.feature-text {
    flex: 1;
}

.feature-item h3 {
    font-family: 'Rubik Dirt', cursive;
    font-size: 1.5rem;
    font-weight: 400;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.feature-item p {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.6;
}

/* Why Telegram Section */
.why-telegram-section {
    padding: 4rem 1rem;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.benefit-item {
    padding: 0;
}

.benefit-item h3 {
    font-family: 'Rubik Dirt', cursive;
    font-size: 1.5rem;
    font-weight: 400;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.benefit-item p {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.6;
}

/* SEO Section */
.seo-section {
    padding: 4rem 1rem;
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
}

.seo-content h2 {
    margin-bottom: 2rem;
    text-align: center;
}

.seo-content p {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 1rem;
    background: transparent;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.faq-item {
    background-color: #F6CB00;
    padding: 2rem 2.5rem;
    border-radius: 16px;
    border: 4px solid #1f2937;
    box-shadow: 6px 6px 0px rgba(31, 41, 55, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: rotate(-1deg);
    transition: all 0.3s ease;
}

.faq-item:nth-child(even) {
    transform: rotate(1deg);
}

.faq-item:hover {
    transform: rotate(0deg) translateY(-4px);
    box-shadow: 8px 8px 0px rgba(31, 41, 55, 0.4), 0 6px 16px rgba(0, 0, 0, 0.2);
}

.faq-question {
    font-family: 'Rubik Dirt', cursive;
    font-size: 1.5rem;
    font-weight: 400;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.faq-answer {
    font-size: 1.125rem;
    color: #1f2937;
    line-height: 1.7;
    font-weight: 500;
}

/* Final CTA Section */
.final-cta-section {
    padding: 4rem 1rem;
}

/* Responsive Design - Mobile First */
@media (max-width: 1024px) {
    .hero-section-video {
        min-height: 70vh;
    }

    .hero-video-content {
        padding: 3rem 1rem;
    }

    .hero-content {
        flex-direction: column;
        gap: 3rem;
        text-align: left;
    }

    .hero-text {
        max-width: 100%;
    }

    .benefits-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section-video {
        min-height: 65vh;
        padding: 0;
    }

    .video-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        max-width: 100%;
        margin: 0;
    }

    .video-overlay {
        border-radius: 0;
    }

    .hero-video-content {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        z-index: 3;
        padding: 2rem 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 65vh;
    }

    .hero-video-content .advent-h1 {
        font-size: 3.5rem;
    }

    .hero-video-content .advent-description {
        font-size: 1.125rem;
    }

    .advent-title-image {
        width: 100%;
        max-width: 350px;
    }

    /* White logo on mobile */
    header {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
    }

    header .logo-header {
        filter: brightness(0) invert(1);
    }

    /* Full width buttons on mobile with margins */
    .cta-button {
        width: calc(100% - 2rem);
        max-width: 100%;
        text-align: center;
    }

    /* Mobile hero button - yellow with black text */
    .cta-hero {
        background-color: #F6CB00;
        color: #000000;
    }

    .cta-hero:hover {
        background-color: #e0b900;
        color: #000000;
    }

    /* Photo cards on mobile */
    .photo-card {
        margin: 2rem auto;
        max-width: 100%;
    }

    .photo-card img {
        border-radius: 16px;
    }

    .photo-label {
        font-size: 1rem;
        padding: 1rem 1.5rem;
        max-width: 200px;
    }

    .photo-label.label-top-left,
    .photo-label.label-top-right {
        top: -1rem;
        left: -1rem;
    }

    .photo-label.label-bottom-right {
        bottom: -1rem;
        right: -1rem;
    }

    /* Typography */
    .advent-h1 {
        font-family: 'Rubik Dirt', cursive;
        font-size: 3.5rem;
        line-height: 1.1;
    }

    .no-print-badge {
        font-size: 0.875rem;
        padding: 0.4rem 1rem;
        top: 5%;
        right: -0.5rem;
    }

    .advent-subtitle {
        font-size: 1.125rem;
    }

    .advent-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    /* Hero */
    .hero-content {
        gap: 2rem;
    }

    /* Phone Mockup */
    .phone-mockup {
        width: 280px;
        height: auto;
    }

    .telegram-preview {
        padding: 40px 12px 12px 12px;
    }

    .telegram-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
    }

    .telegram-name {
        font-size: 0.9rem;
    }

    .telegram-message {
        font-size: 0.8rem;
        padding: 10px 12px;
    }

    /* Features */
    .features-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-item {
        padding: 2rem 1.5rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    /* Smaller icons on mobile but still rotated */
    .feature-item:nth-child(1) .feature-icon,
    .feature-item:nth-child(2) .feature-icon,
    .feature-item:nth-child(3) .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-item h3 {
        font-size: 1.25rem;
    }

    .feature-item p {
        font-size: 1rem;
    }

    /* Benefits */
    .benefits-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefit-item h3 {
        font-size: 1.25rem;
    }

    .benefit-item p {
        font-size: 1rem;
    }

    /* SEO Content */
    .seo-content p {
        font-size: 1rem;
    }

    /* FAQ */
    .faq-item {
        padding: 1.5rem 1.75rem;
        transform: rotate(0deg);
    }

    .faq-item:nth-child(even) {
        transform: rotate(0deg);
    }

    .faq-question {
        font-size: 1.25rem;
    }

    .faq-answer {
        font-size: 1rem;
    }

    /* CTA Button */
    .cta-button {
        font-size: 1.125rem;
        padding: 0.875rem 2rem;
    }

    .cta-large {
        font-size: 1.25rem;
        padding: 1rem 2.5rem;
    }

    /* Sections */
    .hero-section,
    .whats-inside-section,
    .why-telegram-section,
    .faq-section,
    .final-cta-section {
        padding: 2rem 1rem;
    }

    .seo-section {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .advent-h1 {
        font-family: 'Rubik Dirt', cursive;
        font-size: 2.75rem;
        line-height: 1.1;
    }

    .advent-title-image {
        max-width: 280px;
    }

    .no-print-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.75rem;
        top: 5%;
        right: -0.5rem;
    }

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

    .phone-mockup {
        width: 260px;
        height: auto;
    }

    .cta-large {
        font-size: 1.125rem;
        padding: 0.875rem 2rem;
    }
}

/* Animation for smooth appearance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section,
.whats-inside-section,
.why-telegram-section,
.seo-section,
.faq-section,
.final-cta-section {
    animation: fadeInUp 0.8s ease-out;
}
