:root {
    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --secondary: #06d6a0;
    --accent: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(6, 214, 160, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 30%);
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 650px;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
    padding: 30px;
    position: relative;
    z-index: 1;
}

.container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    border-radius: 26px;
    z-index: -1;
    opacity: 0.3;
}

.header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.logo {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.logo i {
    font-size: 32px;
    color: white;
}

.header h1 {
    font-size: 28px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
    font-weight: 800;
}

.header p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.tabs {
    display: flex;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 14px;
    padding: 5px;
    margin-bottom: 25px;
}

.tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s;
    font-weight: 600;
}

.tab.active {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.4);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
}

.input-field {
    width: 100%;
    padding: 16px 20px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 14px;
    font-size: 18px;
    color: var(--text-primary);
    transition: all 0.3s;
    text-align: center;
    letter-spacing: 2px;
}

.input-field:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
    outline: none;
    background: rgba(15, 23, 42, 0.8);
}

.input-field::placeholder {
    color: var(--text-secondary);
}

.error-message {
    color: #ef4444;
    font-size: 14px;
    margin-top: 8px;
    text-align: center;
    display: none;
}

.btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.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: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
    background: linear-gradient(to right, var(--secondary), #05b38c);
    color: white;
    box-shadow: 0 5px 15px rgba(6, 214, 160, 0.4);
}

.btn-instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: white;
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
    margin-top: 15px;
}

.btn-vip {
    background: linear-gradient(to right, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.4);
    margin-top: 15px;
}

.btn-admin {
    background: linear-gradient(to right, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
    margin-top: 15px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn:active {
    transform: translateY(1px);
}

.features {
    display: flex;
    justify-content: space-between;
    margin: 25px 0;
    flex-wrap: wrap;
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.feature i {
    color: var(--accent);
}

.disclaimer {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 14px;
    padding: 20px;
    margin-top: 20px;
    border-right: 4px solid var(--accent);
}

.disclaimer h3 {
    color: var(--accent);
    margin-bottom: 10px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.disclaimer p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.result-container {
    display: none;
    margin-top: 20px;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 14px;
    padding: 20px;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.result-container h3 {
    color: var(--accent);
    margin-bottom: 15px;
    text-align: center;
}

.result-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.result-table th, .result-table td {
    padding: 12px;
    text-align: right;
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.result-table th {
    color: var(--primary);
    font-weight: 600;
}

.hashed {
    font-family: monospace;
    color: var(--text-secondary);
    direction: ltr;
}

.unhashed {
    font-family: inherit;
    color: var(--text-primary);
    direction: rtl;
}

.loading {
    display: none;
    text-align: center;
    margin: 20px 0;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(124, 58, 237, 0.3);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), transparent);
    opacity: 0.1;
    animation: float 15s infinite linear;
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 10%;
    animation-delay: -5s;
    background: linear-gradient(135deg, var(--secondary), transparent);
}

.floating-element:nth-child(3) {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: -10s;
    background: linear-gradient(135deg, var(--accent), transparent);
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -50px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

.hidden-access {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 100;
}

.vip-status {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 14px;
    padding: 15px;
    margin-top: 15px;
    text-align: center;
    display: none;
}

.timer {
    font-family: monospace;
    font-size: 18px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 10px;
}

.vip-status p {
    color: var(--accent);
    margin: 0;
    font-size: 14px;
}

@media (min-width: 768px) {
    .container {
        padding: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
    }
    
    .header h1 {
        font-size: 24px;
    }
    
    .features {
        flex-direction: column;
        align-items: center;
    }
    
    .input-field, .btn {
        font-size: 16px;
    }
}