/* Silencer Landing Page Styles */

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

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

main {
    flex: 1;
}

/* Hero Section */
.landing-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #2563eb 100%);
    color: white;
    padding: 4rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
}

.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;
}

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

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

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

.cta-buttons {
    margin-bottom: 2rem;
}

.btn-download {
    background: #10b981;
    color: white;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: #059669;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.5);
}

.btn-icon {
    font-size: 1.4rem;
}

/* Hero Visual — Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease-out;
}

.phone-mockup {
    position: relative;
    width: 200px;
    height: 380px;
    background: linear-gradient(180deg, #1e293b, #0f172a);
    border-radius: 36px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1.5rem;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.shield-icon {
    font-size: 3.5rem;
    animation: pulse 2.5s ease-in-out infinite;
}

.blocked-call {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.blocked-call-icon {
    font-size: 2.5rem;
    animation: shake 3s ease-in-out infinite;
}

.blocked-label {
    font-size: 0.75rem;
    color: #ef4444;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(239, 68, 68, 0.15);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.float-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.6);
    animation: float 3s ease-in-out infinite;
}

.float-dot:nth-child(1) { top: 15%; left: -30px; animation-delay: 0s; }
.float-dot:nth-child(2) { top: 40%; right: -25px; animation-delay: 0.8s; background: rgba(37, 99, 235, 0.7); width: 8px; height: 8px; }
.float-dot:nth-child(3) { bottom: 25%; left: -20px; animation-delay: 1.5s; background: rgba(16, 185, 129, 0.4); width: 14px; height: 14px; }
.float-dot:nth-child(4) { top: 65%; right: -35px; animation-delay: 0.4s; width: 6px; height: 6px; }

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

.features-section 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: 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

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

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* How It Works Section */
.how-to-play {
    padding: 5rem 0;
    background: white;
}

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

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

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

.instruction-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    color: white;
    font-size: 2rem;
    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(37, 99, 235, 0.3);
}

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

.instruction p {
    color: #666;
    line-height: 1.6;
}

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

.btn-store-large {
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    color: white;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
}

.btn-store-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.5);
}

/* App Footer 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: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #1d4ed8;
    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 float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-16px);
    }
}

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

@keyframes shake {
    0%, 85%, 100% { transform: rotate(0deg); }
    88% { transform: rotate(-15deg); }
    91% { transform: rotate(15deg); }
    94% { transform: rotate(-10deg); }
    97% { transform: rotate(10deg); }
}

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

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

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

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

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

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

    .btn-download {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .features-section,
    .how-to-play {
        padding: 3rem 0;
    }

    .features-section h2,
    .how-to-play h2 {
        font-size: 2rem;
    }

    .phone-mockup {
        width: 160px;
        height: 300px;
    }

    .shield-icon {
        font-size: 2.5rem;
    }
}
