:root {
    --primary: #6C5CE7;
    --primary-dark: #5649C7;
    --secondary: #00D1A0;
    --accent: #FF5E7D;
    --dark: #0F0C29;
    --light: #F5F7FF;
    --success: #00D1A0;
    --danger: #FF4D6D;
    --glass: rgba(255,255,255,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--dark);
    color: var(--light);
    min-height: 100vh;
    overflow-x: hidden;
}

.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.15;
}

.container {
    max-width: 450px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    box-shadow: 0 5px 20px rgba(108, 92, 231, 0.5);
    border: 3px solid rgba(255,255,255,0.2);
}

.app-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stats {
    background: rgba(30,33,48,0.8);
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid var(--glass);
    backdrop-filter: blur(5px);
}

.signal-count {
    color: var(--success);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 209, 160, 0.5);
    animation: pulseGlow 2s infinite;
}

.signal-count::after {
    content: "+";
    margin-left: 2px;
}

.section {
    background: rgba(26,29,40,0.8);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid var(--glass);
    backdrop-filter: blur(5px);
}

.section-title {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--secondary);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 10px;
    font-size: 18px;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.platform-btn {
    padding: 12px;
    border-radius: 10px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    min-height: 60px;
}

.platform-btn.selected {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}

.platform-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.market-toggle {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--glass);
}

.market-btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    background: rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.market-btn.selected {
    background: var(--primary);
}

select {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--glass);
    background: rgba(0,0,0,0.3);
    color: white;
    font-size: 14px;
    margin-bottom: 5px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.time-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.time-btn {
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(0,0,0,0.3);
    font-size: 13px;
    flex: 1;
    min-width: calc(20% - 8px);
    text-align: center;
    border: 1px solid var(--glass);
    cursor: pointer;
    transition: all 0.3s;
}

.time-btn.selected {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(108, 92, 231, 0.3);
}

.btn {
    display: block;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-weight: 600;
    font-size: 15px;
    margin: 20px 0;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.4);
}

.signal-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 100;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.signal-box {
    background: rgba(26,29,40,0.95);
    padding: 25px;
    border-radius: 15px;
    width: 90%;
    max-width: 350px;
    text-align: center;
    border: 1px solid var(--glass);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: modalIn 0.4s;
}

.signal-direction {
    font-size: 42px;
    font-weight: 800;
    margin: 15px 0;
    text-transform: uppercase;
}

.signal-up {
    color: var(--success);
    animation: pulse 2s infinite;
}

.signal-down {
    color: var(--danger);
    animation: pulse 2s infinite;
}

.signal-details {
    font-size: 16px;
    margin: 20px 0;
}

.signal-details div {
    margin-bottom: 10px;
}

.license-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 100;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.license-box {
    background: rgba(26,29,40,0.95);
    padding: 25px;
    border-radius: 15px;
    width: 90%;
    max-width: 350px;
    text-align: center;
    border: 1px solid var(--glass);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: modalIn 0.4s;
}

.license-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--secondary);
}

.license-input {
    width: 100%;
    padding: 14px;
    margin: 15px 0;
    border-radius: 10px;
    border: 1px solid var(--glass);
    background: rgba(0,0,0,0.3);
    color: white;
    font-size: 15px;
    text-align: center;
    letter-spacing: 1px;
}

.terms-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 100;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.terms-box {
    background: rgba(26,29,40,0.95);
    padding: 25px;
    border-radius: 15px;
    width: 90%;
    max-width: 350px;
    text-align: center;
    border: 1px solid var(--glass);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: modalIn 0.4s;
}

.terms-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--secondary);
}

.terms-content {
    max-height: 300px;
    overflow-y: auto;
    margin: 15px 0;
    padding: 10px;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    text-align: left;
    font-size: 13px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin: 15px 0;
    font-size: 13px;
    justify-content: center;
}

.checkbox-container input {
    margin-right: 10px;
    width: 16px;
    height: 16px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 22px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.telegram-btn {
    background: linear-gradient(135deg, #0088cc, #00A8E8);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.tutorial-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: var(--secondary);
    font-size: 14px;
    text-decoration: none;
}

.price-tag {
    background: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-top: 10px;
    display: inline-block;
}

@keyframes pulse {
    0% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0.8; transform: scale(1); }
}

@keyframes pulseGlow {
    0% { text-shadow: 0 0 5px rgba(0, 209, 160, 0.5); }
    50% { text-shadow: 0 0 15px rgba(0, 209, 160, 0.8); }
    100% { text-shadow: 0 0 5px rgba(0, 209, 160, 0.5); }
}

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

@keyframes modalIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}


.license-input-container {
    position: relative;
    width: 100%;
}


/* Eye icon for password toggle */
.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: white;
    font-size: 18px;
}

/* License input with padding for eye icon */
.license-input {
    padding-right: 40px !important; /* Make space for the eye icon */
}