:root {
    --dark-bg: #0a0a1a;
    --card-bg: #15152a;
    --accent: #9d50ff;
    --accent-light: #b87dff;
    --text: #f0f0ff;
    --text-secondary: #b8b8d9;
    --success: #00d68f;
    --error: #ff4d6d;
    --border-radius: 20px;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.gradient-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(157, 80, 255, 0.3) 0%, transparent 70%);
    filter: blur(40px);
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

.container {
    width: 100%;
    max-width: 550px;
    background: rgba(21, 21, 42, 0.85);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 45px 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(157, 80, 255, 0.2),
                0 0 30px rgba(157, 80, 255, 0.1);
    text-align: center;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(157, 80, 255, 0.15);
}

.logo {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 35px;
    background: linear-gradient(45deg, #50e5ff, #fb8b00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-shadow: 0 0 20px rgba(157, 80, 255, 0.3);
}

.logo i {
    font-size: 3.2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.accent {
    color: var(--accent-light);
}

.email-container {
    position: relative;
    margin: 30px 0 25px;
}
.senwhts{
    color: #00c853;
    cursor: pointer;
}

.logoflash{
    width: 250px;
    height: 250px;
}

#emailInput {
    width: 100%;
    padding: 16px 20px;
    background: rgba(30, 30, 60, 0.7);
    border: 1px solid rgba(157, 80, 255, 0.3);
    border-radius: 14px;
    color: var(--text);
    font-size: 1.05rem;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
}

#emailInput:focus, #emailInput.valid {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(157, 80, 255, 0.25);
}

#emailInput.error {
    border-color: var(--error);
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.input-border {
    height: 3px;
    background: var(--accent);
    width: 0;
    margin: 0 auto;
    border-radius: 3px;
    transition: var(--transition);
}

#emailInput:focus + .input-border,
#emailInput.valid + .input-border {
    width: 100%;
}

.domain-hint {
    font-size: 0.8rem;
    color: var(--accent-light);
    margin-top: 8px;
    font-style: italic;
}

.section-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #a3a3a3;
    font-weight: 600;
}

.platforms-container {
    margin: 30px 0;
    position: relative;
}

.platforms-scroll {
    display: flex;
    gap: 25px;
    padding: 15px 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
    margin: 25px 0;
}

.platforms-scroll::-webkit-scrollbar {
    display: none;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 85px;
    opacity: 0.65;
    transition: var(--transition);
    position: relative;
}

.platform-item:hover {
    opacity: 0.9;
}

.platform-item.active {
    opacity: 1;
    transform: translateY(-8px);
}

.platform-item.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(157, 80, 255, 0.3);
}

.platform-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(30, 30, 60, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border: 2px solid var(--accent);
    transition: var(--transition);
    font-size: 1.6rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.platform-item.active .platform-circle {
    border-color: white;
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

.platform-circle i {
    color: var(--accent-light);
}

.platform-item.active .platform-circle i {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.prime { background: rgba(228, 46, 46, 0.2); border-color: #e42e2e; }
.prime i { color: #e42e2e; }
.platform-item.active .prime { border-color: white; }
.platform-item.active .prime i { color: white; }

.disney { background: rgba(110, 55, 163, 0.2); border-color: #6e37a3; }
.disney i { color: #6e37a3; }
.platform-item.active .disney { border-color: white; }
.platform-item.active .disney i { color: white; }

.netflix { background: rgba(229, 30, 39, 0.2); border-color: #e51e27; }
.netflix i { color: #e51e27; }
.platform-item.active .netflix { border-color: white; }
.platform-item.active .netflix i { color: white; }

.spotify { background: rgba(29, 185, 84, 0.2); border-color: #1db954; }
.spotify i { color: #1db954; }
.platform-item.active .spotify { border-color: white; }
.platform-item.active .spotify i { color: white; }

.hbo { background: rgba(46, 46, 228, 0.2); border-color: #2e2ee4; }
.hbo i { color: #2e2ee4; }
.platform-item.active .hbo { border-color: white; }
.platform-item.active .hbo i { color: white; }

.platform-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 5px;
    font-weight: 500;
    white-space: nowrap;
}

.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 35px 0 25px;
}

.btn {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 16px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
    letter-spacing: 0.5px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.code-btn {
    background: linear-gradient(45deg, #2a2a72, #4da6ff);
    color: white;
    box-shadow: 0 6px 20px rgba(77, 166, 255, 0.4);
}

.code-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(77, 166, 255, 0.5);
}

.link-btn {
    background: linear-gradient(45deg, #3a3a72, #6d6dff);
    color: white;
    box-shadow: 0 6px 20px rgba(109, 109, 255, 0.4);
}

.link-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(109, 109, 255, 0.5);
}

.result-container {
    margin: 25px 0;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.result-container.show {
    opacity: 1;
    height: auto;
    margin: 25px 0;
}

.result-card {
    background: rgba(30, 30, 60, 0.9);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(157, 80, 255, 0.2);
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--accent-light);
    display: flex;
    justify-content: center;
    gap: 10px;
}

.code-display {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 8px;
    color: white;
    background: linear-gradient(45deg, #9d50ff, #ff4d6d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(157, 80, 255, 0.3);
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    padding: 10px;
}

.copy-btn {
    background: rgba(157, 80, 255, 0.15);
    border: 1px solid var(--accent);
    color: var(--accent-light);
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    margin-top: 10px;
}

.copy-btn:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.05);
}

.access-link {
    display: inline-block;
    background: linear-gradient(45deg, #00c853, #1de9b6);
    color: white;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 14px;
    font-weight: 600;
    margin-top: 15px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 200, 83, 0.4);
}

.access-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 200, 83, 0.6);
}

.error-message {
    background: rgba(255, 77, 109, 0.15);
    border: 1px solid var(--error);
    color: var(--error);
    padding: 15px;
    border-radius: 14px;
    margin: 25px 0;
    text-align: center;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.error-message.show {
    opacity: 1;
    height: auto;
    margin: 25px 0;
}

footer {
    margin-top: 30px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-top: 25px;
    border-top: 1px solid rgba(157, 80, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 480px) {
    .container {
        padding: 35px 25px;
    }
    
    .logo {
        font-size: 2.2rem;
    }
    
    .logo i {
        font-size: 2.5rem;
    }
    
    .platforms-scroll {
        gap: 18px;
        padding: 15px 5px;
    }
    
    .platform-circle {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }
    
    .platform-item span {
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 16px;
        font-size: 1rem;
    }
    
    .code-display {
        font-size: 2.2rem;
        letter-spacing: 5px;
    }
    
    .result-card {
        padding: 20px 15px;
    }
}

@media (max-width: 360px) {
    .platforms-scroll {
        gap: 12px;
    }
    
    .platform-circle {
        width: 55px;
        height: 55px;
        font-size: 1.1rem;
    }
    
    .container {
        padding: 30px 20px;
    }
}