/* Amazon Prime Video - Gen-Z Ultra Modern */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --prime-blue: #00A8E1;
    --prime-dark: #0F171E;
    --prime-dark2: #1A242F;
    --prime-gold: #FFB81C;
    --prime-orange: #FF6B00;
    --bg-dark: #0a0a0a;
    --bg-card: rgba(26, 36, 47, 0.9);
    --text-white: #ffffff;
    --text-gray: rgba(255, 255, 255, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient-main: linear-gradient(135deg, #00A8E1 0%, #00D4FF 50%, #FFB81C 100%);
    --gradient-glow: radial-gradient(circle, rgba(0, 168, 225, 0.4) 0%, transparent 70%);
    --gradient-btn: linear-gradient(135deg, #00A8E1 0%, #FF6B00 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated Background */
.bg-animated {
    display: none;
}

@keyframes bgShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 30s ease-in-out infinite;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(0, 168, 225, 0.3) 0%, rgba(0, 168, 225, 0) 100%);
    top: -20%;
    left: -20%;
    animation-delay: 0s;
}

.shape-2 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, rgba(255, 184, 28, 0.25) 0%, rgba(255, 184, 28, 0) 100%);
    bottom: -20%;
    right: -20%;
    animation-delay: -10s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.2) 0%, rgba(255, 107, 0, 0) 100%);
    top: 40%;
    left: 40%;
    animation-delay: -20s;
}

.shape-4 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, transparent 100%);
    top: 10%;
    right: 10%;
    animation-delay: -15s;
}

.shape-5 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, rgba(0, 168, 225, 0.12) 0%, transparent 100%);
    bottom: 15%;
    left: 10%;
    animation-delay: -25s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    25% { transform: translate(50px, -50px) scale(1.15) rotate(5deg); }
    50% { transform: translate(-40px, 40px) scale(0.85) rotate(-5deg); }
    75% { transform: translate(-50px, -40px) scale(1.1) rotate(3deg); }
}

/* Hero Banner Section */
.hero-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 0;
}

.banner-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 6px;
    opacity: 1;
    z-index: 0;
}

.banner-row {
    display: flex;
    gap: 6px;
    height: calc(33.33% - 4px);
    position: relative;
    overflow: hidden;
}

.banner-track {
    display: flex;
    gap: 6px;
    width: max-content;
    animation: scrollLeft 80s linear infinite;
}

.banner-row:nth-child(2) .banner-track {
    animation: scrollRight 80s linear infinite;
}

.banner-row:nth-child(3) .banner-track {
    animation: scrollLeft 80s linear infinite;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.banner-image {
    width: calc(16.66% - 5px);
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    filter: brightness(1) saturate(1.4);
    flex-shrink: 0;
}

.banner-image:nth-child(odd) {
    animation-delay: -2s;
}

.banner-image:nth-child(even) {
    animation-delay: -4s;
}

@keyframes imageFloat {
    0%, 100% { transform: scale(1); filter: brightness(1) saturate(1.4); }
    50% { transform: scale(1.03); filter: brightness(1.1) saturate(1.5); }
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 0.7) 50%, rgba(10, 10, 10, 0.85) 100%);
    z-index: 1;
}

.banner-content {
    display: none;
}

.prime-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(0, 168, 225, 0.6)); }
    50% { filter: drop-shadow(0 0 50px rgba(0, 168, 225, 0.9)); }
}

.prime-logo svg {
    width: 50px;
    height: 50px;
}

.prime-logo .prime-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.prime-logo .prime-check {
    color: var(--prime-gold);
    font-size: 2.2rem;
}

.banner-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 30px rgba(0, 168, 225, 0.5);
}

.banner-subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.banner-features {
    display: none;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 168, 225, 0.15);
    border: 1px solid rgba(0, 168, 225, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #00D4FF;
}

.feature-badge svg {
    width: 20px;
    height: 20px;
}

/* Container */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.prime-video-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    margin-bottom: 1rem;
    position: relative;
    letter-spacing: -0.5px;
}

.prime-video-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 70px;
    background: var(--gradient-glow);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.7;
    animation: glowPulse 3s ease infinite;
    z-index: -1;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.prime-video-logo .amazon-text {
    font-family: Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.prime-video-logo .prime-text {
    font-family: Arial, sans-serif;
    font-size: 2.3rem;
    font-weight: 700;
    color: #00A8E1;
    letter-spacing: -0.5px;
    margin-left: 0.3rem;
}

.prime-video-logo .checkmark {
    font-size: 2.5rem;
    color: #00A8E1;
    font-weight: 300;
    line-height: 1;
    margin-left: -0.4rem;
}

.prime-video-logo .video-text {
    font-family: Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #00A8E1;
    margin-left: 0.2rem;
}

.brand-text h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* Main Content */
.main-content {
    width: 100%;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

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

.content-card {
    background: rgba(15, 23, 30, 0.85);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    padding: 2.5rem 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 168, 225, 0.2);
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 168, 225, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.content-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 168, 225, 0.1) 0%, transparent 50%);
    animation: cardGlow 10s ease infinite;
    pointer-events: none;
}

@keyframes cardGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10%, 10%); }
}

/* Title Section */
.title-section {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.title-section h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.title-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Form */
#coupon-form {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.input-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.input-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    pointer-events: none;
    transition: color 0.3s ease;
}

.input-wrapper input:focus + .input-shine ~ .input-icon,
.input-wrapper input:focus ~ .input-icon {
    color: var(--prime-blue);
}

.input-wrapper input {
    width: 100%;
    padding: 1.1rem 1rem 1.1rem 3.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid var(--border-color);
    border-radius: 18px;
    color: var(--text-white);
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 2px;
    font-weight: 600;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--prime-blue);
    background: rgba(0, 168, 225, 0.05);
    box-shadow: 0 0 0 4px rgba(0, 168, 225, 0.15), 0 0 40px rgba(0, 168, 225, 0.2);
}

.input-wrapper input.error {
    border-color: #ff4444;
    box-shadow: 0 0 0 4px rgba(255, 68, 68, 0.15);
}

.input-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
    border-radius: 20px;
    z-index: 3;
}

.input-wrapper:hover .input-shine {
    animation: shine 3s ease infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.error-message {
    display: block;
    margin-bottom: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 14px;
    color: #ff6b6b;
    font-size: 0.9rem;
    text-align: center;
    animation: shake 0.5s ease;
}

.field-error {
    display: block;
    margin-top: 0.5rem;
    color: #ff6b6b;
    font-size: 0.85rem;
    font-weight: 500;
}

.form-group.error {
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Verify Button */
.verify-btn {
    width: 100%;
    padding: 1.1rem;
    background: var(--gradient-btn);
    border: none;
    border-radius: 18px;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 168, 225, 0.4);
}

.verify-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.verify-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 168, 225, 0.5);
}

.verify-btn:hover::before {
    left: 100%;
}

.verify-btn:active {
    transform: translateY(-1px);
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: var(--gradient-glow);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.verify-btn:hover .btn-glow {
    opacity: 0.6;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    transition: all 0.3s ease;
    cursor: default;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 168, 225, 0.4);
    transform: translateY(-3px);
}

.feature-icon-wrapper {
    position: relative;
}

.feature-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-main);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 168, 225, 0.4);
}

.feature-card span {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    line-height: 1.3;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 1.5rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: white;
}

.contact-item svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.contact-item:hover svg {
    opacity: 1;
}

.powered-by {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.powered-by span {
    color: rgba(255, 255, 255, 0.5);
}

.powered-by a {
    color: var(--prime-blue);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.powered-by a:hover {
    color: #00D4FF;
    text-shadow: 0 0 20px rgba(0, 168, 225, 0.6);
}

.copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
}

/* Responsive */
@media (max-width: 580px) {
    .banner-row {
        gap: 4px;
    }

    .banner-image {
        min-width: calc(33.33% - 3px);
        border-radius: 6px;
    }

    .container {
        padding: 1.5rem 1rem;
    }

    .content-card {
        padding: 2rem 1.5rem;
        border-radius: 24px;
    }

    .logo-section {
        margin-bottom: 1rem;
    }

    .prime-video-logo .amazon-text {
        font-size: 1rem;
    }

    .prime-video-logo .prime-text {
        font-size: 1.9rem;
    }

    .prime-video-logo .checkmark {
        font-size: 2.1rem;
    }

    .prime-video-logo .video-text {
        font-size: 1.1rem;
    }

    .brand-text h2 {
        font-size: 1.1rem;
    }

    .title-section h3 {
        font-size: 1.3rem;
    }

    .title-section p {
        font-size: 0.85rem;
    }

    .input-wrapper input {
        padding: 1rem 0.9rem 1rem 3.2rem;
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    .input-icon {
        left: 0.9rem;
    }

    .verify-btn {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
        padding-top: 1.2rem;
    }

    .feature-card {
        padding: 0.75rem 0.65rem;
    }

    .feature-icon {
        width: 36px;
        height: 36px;
    }

    .feature-card span {
        font-size: 0.7rem;
    }

    .footer {
        margin-top: 1.2rem;
    }
}
