/* Global Styles */
:root {
    --primary-bg: #0f172a;
    --accent-color: #d946ef;
    /* Magenta/Pink */
    --accent-glow: #c026d3;
    --secondary-accent: #facc15;
    /* Gold */
    --card-bg: rgba(255, 255, 255, 0.08);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --font-family: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--primary-bg);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    /* Deep gradient background */
    background: radial-gradient(circle at top left, #4c1d95, transparent 40%),
        radial-gradient(circle at bottom right, #be185d, transparent 40%),
        #0f172a;
}

/* Background animated mesh (optional specific effect) */
.background-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Layout */
.app-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.logo-area {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

.logo-area h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    margin-bottom: 0.2rem;
    text-shadow: 0 0 30px rgba(217, 70, 239, 0.5);
}

.logo-area .subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Glass Card */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem;
    width: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 0 50px rgba(0, 0, 0, 0.25);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    display: none;
    /* hidden by default */
}

.card.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.5s ease-out forwards;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.card-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.card-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Inputs */
.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-weight: 600;
}

.input-wrapper {
    position: relative;
}

.input-wrapper .icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-muted);
}

input[type="text"] {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1rem 1rem 1rem 3rem;
    color: white;
    font-size: 1rem;
    font-family: var(--font-family);
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(217, 70, 239, 0.2);
}

/* Platform Selector */
.platform-select {
    display: flex;
    gap: 1rem;
}

.platform-btn {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 0.75rem;
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font-family);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.platform-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.platform-btn.active {
    background: rgba(217, 70, 239, 0.15);
    border-color: var(--accent-color);
    color: white;
    box-shadow: 0 0 15px rgba(217, 70, 239, 0.2);
}

.platform-btn .icon {
    width: 16px;
    height: 16px;
}

/* Buttons */
.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-color), #a855f7);
    border: none;
    border-radius: 12px;
    padding: 1rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 0 20px rgba(217, 70, 239, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 0 30px rgba(217, 70, 239, 0.6);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Resource Sliders */
.resource-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.resource-group {
    margin-bottom: 2rem;
    background: rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border-radius: 16px;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.slider {
    flex: 1;
    -webkit-appearance: none;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px var(--accent-color);
}

.slider-value {
    font-weight: 700;
    color: var(--secondary-accent);
    min-width: 60px;
    text-align: right;
}

/* Console Logs */
.console-window {
    background: #0f172a;
    /* Deep dark for terminal */
    border-radius: 12px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #33ff33;
    /* Hacker green */
    height: 200px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.console-header {
    display: flex;
    gap: 6px;
    margin-bottom: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red {
    background: #ef4444;
}

.yellow {
    background: #eab308;
}

.green {
    background: #22c55e;
}

.log-line {
    margin-bottom: 0.4rem;
    opacity: 0.9;
}

.progress-bar-container {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--accent-color);
    width: 0%;
    transition: width 0.2s ease;
    box-shadow: 0 0 10px var(--accent-color);
}

/* Verification */
.success-icon {
    text-align: center;
    color: var(--green);
    margin-bottom: 1rem;
}

.success-icon svg {
    width: 64px;
    height: 64px;
    color: #22c55e;
    filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.4));
}

.resource-summary {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin: 1.5rem 0;
}

.res-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.res-item:last-child {
    margin-bottom: 0;
}

.timer-text {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.timer-countdown {
    color: var(--secondary-accent); /* Yellow/Gold for visibility */
    font-weight: 700;
    font-size: 1.3rem;
    font-family: monospace; /* For better alignment */
}

.verify-btn {
    animation: pulse 2s infinite;
}

/* SEO Content Section */
.content-section {
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    /* Darker backdrop for readability */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--card-border);
    padding: 4rem 2rem;
    margin-top: 2rem;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-section h2,
.content-section h3,
.content-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--secondary-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content-section h3 {
    margin-top: 2rem;
    color: var(--accent-color);
}

.content-section p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    margin: 1rem 0;
}

.feature-list li {
    margin-bottom: 0.75rem;
    color: var(--text-main);
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.faq-item h4 {
    margin-bottom: 0.5rem;
    color: #fff;
}

.faq-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}


/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(217, 70, 239, 0.7);
    }

    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(217, 70, 239, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(217, 70, 239, 0);
    }
}

.footer {
    padding: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    background: #0b1120;
}

.disclaimer {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    opacity: 0.6;
}