/* Zip&Rar Landing Page Styles */

/* Sticky Footer Layout */
html {
    height: 100%;
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* ── Hero Section ──────────────────────────────────────────────── */
.zip-hero {
    background: linear-gradient(135deg, #0f2952 0%, #1a3f7a 50%, #1e5799 100%);
    color: white;
    padding: 4rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.zip-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.04) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

.app-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.app-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.app-tagline {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 500;
}

.app-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.85;
}

/* App Store Button */
.cta-buttons {
    margin-bottom: 1.75rem;
}

.btn-appstore {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #000;
    color: white;
    padding: 0.85rem 1.75rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.btn-appstore:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}

.appstore-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.btn-text-content {
    display: flex;
    flex-direction: column;
}

.btn-subtitle {
    font-size: 0.65rem;
    opacity: 0.8;
    line-height: 1;
    font-weight: 400;
}

.btn-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

/* Rating Strip */
.rating-strip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.stars {
    color: #FFD700;
    font-size: 1rem;
    letter-spacing: 2px;
}

.rating-score {
    font-weight: 700;
}

.rating-count {
    opacity: 0.7;
    font-size: 0.85rem;
}

/* ── Hero Visual: Archive Animation ────────────────────────────── */
.zip-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease-out;
}

.archive-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    max-width: 340px;
}

.archive-folder {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 1.5rem 2.5rem;
    text-align: center;
    animation: pulse 2.5s ease-in-out infinite;
}

.folder-icon {
    font-size: 3.5rem;
    line-height: 1;
}

.archive-label {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.extraction-arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    opacity: 0.7;
}

.arrow-line {
    width: 2px;
    height: 24px;
    background: rgba(255, 255, 255, 0.5);
}

.arrow-head {
    font-size: 0.9rem;
    animation: bounce 1.2s ease-in-out infinite;
}

.extracted-files {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
}

.file-chip {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    opacity: 0;
    animation: slideIn 0.5s ease-out forwards;
}

.file-chip.delay-1 { animation-delay: 0.3s; }
.file-chip.delay-2 { animation-delay: 0.6s; }
.file-chip.delay-3 { animation-delay: 0.9s; }
.file-chip.delay-4 { animation-delay: 1.2s; }

.format-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
}

.format-tag {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
}

/* ── Cloud Services Banner ──────────────────────────────────────── */
.cloud-section {
    background: #f0f4ff;
    padding: 1.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.cloud-label {
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cloud-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.cloud-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #475569;
    font-weight: 500;
    font-size: 0.95rem;
}

.cloud-icon {
    font-size: 1.25rem;
}

/* ── Features Section ──────────────────────────────────────────── */
.zip-features {
    padding: 5rem 0;
    background: #f9fafb;
}

.zip-features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    border: 1px solid #e8ecf0;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    border-color: #c7d9f5;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.feature-card p {
    color: #64748b;
    line-height: 1.65;
    font-size: 0.95rem;
}

/* ── How It Works Section ──────────────────────────────────────── */
.zip-howto {
    padding: 5rem 0;
    background: white;
}

.zip-howto h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.instruction {
    text-align: center;
    padding: 2rem 1.5rem;
}

.instruction-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a3f7a, #1e5799);
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 16px rgba(30, 87, 153, 0.35);
}

.instruction h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.instruction p {
    color: #64748b;
    line-height: 1.65;
    font-size: 0.95rem;
}

.play-cta {
    text-align: center;
    margin-top: 1rem;
}

.btn-download-large {
    display: inline-block;
    background: linear-gradient(135deg, #1a3f7a, #1e5799);
    color: white;
    text-decoration: none;
    padding: 1.1rem 3rem;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    box-shadow: 0 6px 24px rgba(30, 87, 153, 0.4);
    transition: all 0.3s ease;
}

.btn-download-large:hover {
    background: linear-gradient(135deg, #0f2952, #1a3f7a);
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(30, 87, 153, 0.5);
}

/* ── Supported Formats Section ─────────────────────────────────── */
.formats-section {
    padding: 5rem 0;
    background: #f9fafb;
}

.formats-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.formats-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: #64748b;
    margin-bottom: 3rem;
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.format-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.format-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #bdd2f5;
}

.format-ext {
    font-size: 2rem;
    font-weight: 900;
    color: #1a3f7a;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #1a3f7a, #1e5799);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.format-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ── Footer Links Section ──────────────────────────────────────── */
.game-footer-section {
    padding: 2rem 0;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.footer-links {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #1e5799;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #1a3f7a;
    text-decoration: underline;
}

.separator {
    color: #9ca3af;
}

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

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.03); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(5px); }
}

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

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .app-title {
        font-size: 3rem;
    }

    .cta-buttons {
        display: flex;
        justify-content: center;
    }

    .rating-strip {
        justify-content: center;
    }

    .zip-visual {
        margin-top: 2rem;
    }

    .cloud-logos {
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .app-title {
        font-size: 2.5rem;
    }

    .app-tagline {
        font-size: 1.2rem;
    }

    .zip-features,
    .zip-howto,
    .formats-section {
        padding: 3rem 0;
    }

    .zip-features h2,
    .zip-howto h2,
    .formats-section h2 {
        font-size: 2rem;
    }

    .extracted-files {
        max-width: 260px;
    }

    .cloud-logos {
        gap: 1rem;
    }
}
