/* 
 * Shido Verification Page Stylesheet
 * Version: 1.2.1
 */

:root {
    /* Colors */
    --primary: #046bd2;
    --primary-dark: #045cb4;
    --primary-light: #3a8be0;
    --accent: #00d8ff;
    --success: #4cd964;
    --warning: #ffcc00;
    --danger: #ff3b30;
    --bg-dark: #0a0a14;
    --bg-card: #121220;
    --bg-card-hover: #191930;
    --text-light: #ffffff;
    --text-muted: #aaaaaa;
    --border: #252538;
    
    /* Shadows */
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--bg-dark);
    min-height: 100vh;
    -webkit-tap-highlight-color: transparent;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover, a:focus {
    color: var(--primary-light);
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
}

button, input, select {
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

.subtitle {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Header */
header {
    background-color: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.btn-home {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(4, 107, 210, 0.3);
    color: white;
}

/* Main Content */
main {
    padding: 3rem 0;
}

/* Hero Section */
.hero {
    margin-bottom: 3rem;
    background: linear-gradient(135deg, rgba(18, 18, 32, 0.8), rgba(10, 10, 20, 0.9));
    border-radius: 1rem;
    padding: 3rem 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.alert {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: rgba(255, 204, 0, 0.1);
    border-left: 4px solid var(--warning);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.alert-icon {
    font-size: 1.5rem;
}

.alert p {
    margin-bottom: 0;
}

/* Verification Tool */
.verify-tool {
    margin-bottom: 3rem;
}

.verify-form {
    margin-bottom: 2rem;
}

.input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

#verify-input {
    flex: 1;
    min-width: 250px;
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--border);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

#verify-input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(4, 107, 210, 0.15);
}

#platform-select {
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--border);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    color: var(--text-light);
    font-size: 1rem;
    min-width: 150px;
    transition: var(--transition);
    cursor: pointer;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

#platform-select:focus {
    outline: none;
    border-color: var(--primary);
}

#verify-button {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 0.9rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

#verify-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(4, 107, 210, 0.3);
}

#verify-button:active {
    transform: translateY(0);
}

#platform-select option {
    background-color: var(--bg-card);
    color: var(--text-light);
}

#verify-input::placeholder {
    color: var(--text-muted);
}

/* Results Container */
.result-container {
    background-color: var(--bg-card);
    border-radius: 0.8rem;
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
    animation: fadeIn 0.3s ease;
}

.result-container.show {
    display: block;
}

/* Verification Results */
.verified-result,
.unverified-result {
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    animation: slideIn 0.3s ease;
}

.verified-result {
    background-color: rgba(76, 217, 100, 0.1);
    border: 1px solid rgba(76, 217, 100, 0.3);
}

.unverified-result {
    background-color: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.3);
}

.verified-result:last-child,
.unverified-result:last-child {
    margin-bottom: 0;
}

.result-badge {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.verified-badge {
    background-color: var(--success);
    color: white;
}

.unverified-badge {
    background-color: var(--danger);
    color: white;
}

.result-details h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    word-break: break-word;
}

.result-details p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    word-break: break-word;
}

.result-details p:last-child {
    margin-bottom: 0;
}

.warning {
    color: var(--danger);
    font-weight: 500;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.5rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 0.5rem;
    text-transform: uppercase;
}

.telegram-badge {
    background-color: #0088cc;
    color: white;
}

.x-badge {
    background-color: #1DA1F2;
    color: white;
}

.email-badge {
    background-color: #DB4437;
    color: white;
}

/* Security Tips */
.tip-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background-color: var(--bg-card);
    border-radius: 0.8rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.tip-card:hover {
    transform: translateY(-5px);
    background-color: var(--bg-card-hover);
    box-shadow: var(--shadow-lg);
}

.tip-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 0.8rem;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.tip-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    color: var(--accent);
}

.tip-card p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: var(--bg-card);
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}

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

.footer-logo img {
    height: 30px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--bg-card-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    color: var(--text-light);
}

.social-links a:hover {
    transform: translateY(-3px);
    background-color: var(--primary);
    box-shadow: 0 5px 15px rgba(4, 107, 210, 0.3);
}

.social-links svg {
    width: 1.2rem;
    height: 1.2rem;
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Loading Animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.loading-spinner {
    width: 3rem;
    height: 3rem;
    border: 4px solid rgba(4, 107, 210, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive Styles */
@media (max-width: 900px) {
    h1 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 2rem 1.5rem;
    }
    
    .tip-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    main {
        padding: 2rem 0;
    }
    
    .hero {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .alert {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    #verify-input, 
    #platform-select, 
    #verify-button {
        width: 100%;
    }
    
    .tip-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .verified-result,
    .unverified-result {
        padding: 1.25rem;
    }
    
    .result-container {
        padding: 1.5rem;
    }
    
    #verify-button,
    #platform-select,
    #verify-input {
        font-size: 16px;
        min-height: 44px;
    }
}

@media (max-width: 400px) {
    h1 {
        font-size: 1.75rem;
    }
    
    .verified-result,
    .unverified-result {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .result-badge {
        margin-bottom: 0.5rem;
    }
}