﻿:root {
    --bg: #06111d;
    --bg-soft: #0b1930;
    --bg-card: rgba(10, 25, 48, 0.75);
    --text: #f3f7ff;
    --muted: #a2b1c7;
    --border: rgba(108, 150, 214, 0.16);
    --primary: #20c7ff;
    --primary-2: #4de2d0;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 16px;
    --container: 1240px;
    --transition: all 0.25s ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: radial-gradient(circle at 78% 20%, rgba(37, 183, 255, 0.22), transparent 20%), radial-gradient(circle at 70% 55%, rgba(0, 201, 255, 0.14), transparent 26%), linear-gradient(180deg, #04101b 0%, #071424 100%);
    color: var(--text);
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(4, 13, 24, 0.7);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.brand-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

    .brand-text strong {
        font-size: 17px;
    }

    .brand-text span {
        font-size: 12px;
        color: var(--muted);
    }

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lang-switcher {
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
}

.lang-btn {
    border: 0;
    background: transparent;
    color: var(--muted);
    padding: 8px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
}

    .lang-btn.active {
        background: linear-gradient(135deg, var(--primary), var(--primary-2));
        color: #06111d;
        font-weight: 700;
    }

.header-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #06111d;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(32, 199, 255, 0.2);
    transition: var(--transition);
}

    .header-back-btn:hover {
        transform: translateY(-1px);
    }

.login-page {
    position: relative;
    padding: 48px 0 60px;
}

.login-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

.login-glow-1 {
    width: 320px;
    height: 320px;
    background: rgba(32, 199, 255, 0.12);
    top: 90px;
    left: 4%;
}

.login-glow-2 {
    width: 360px;
    height: 360px;
    background: rgba(77, 226, 208, 0.10);
    right: 5%;
    bottom: 40px;
}

.login-hero {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 34px;
    align-items: center;
    min-height: calc(100vh - 220px);
}

.login-left {
    max-width: 700px;
}

.hero-top-lines {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

    .hero-top-lines span {
        color: var(--primary);
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.16em;
    }

.login-left h1 {
    margin: 0 0 20px;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.04;
    max-width: 700px;
}

.login-text {
    margin: 0;
    max-width: 620px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

.hero-trust-points {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.trust-item {
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid rgba(84, 144, 222, 0.2);
    background: rgba(9, 26, 47, 0.6);
    color: #e4eefb;
    font-size: 15px;
    box-shadow: 0 0 24px rgba(32, 199, 255, 0.08);
}

.login-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    width: 100%;
    max-width: 500px;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.login-card-top {
    margin-bottom: 28px;
}

.login-badge {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.login-card-top h2 {
    margin: 0 0 10px;
    font-size: 34px;
}

.login-card-top p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .form-group label {
        font-size: 14px;
        font-weight: 700;
        color: #dbe7f8;
    }

    .form-group input {
        width: 100%;
        height: 56px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.04);
        border-radius: 16px;
        padding: 0 16px;
        color: var(--text);
        outline: none;
        transition: var(--transition);
    }

        .form-group input::placeholder {
            color: #8192aa;
        }

        .form-group input:focus {
            border-color: rgba(32, 199, 255, 0.55);
            box-shadow: 0 0 0 4px rgba(32, 199, 255, 0.08);
        }

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.remember-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #dbe7f8;
    font-size: 14px;
    cursor: pointer;
}

    .remember-row input {
        width: 16px;
        height: 16px;
        accent-color: var(--primary);
    }

.forgot-link {
    font-size: 14px;
    color: var(--primary);
    transition: var(--transition);
}

    .forgot-link:hover {
        color: var(--white);
    }

.login-submit-btn {
    width: 100%;
    height: 56px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #06111d;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(32, 199, 255, 0.2);
    transition: var(--transition);
}

    .login-submit-btn:hover {
        transform: translateY(-1px);
    }

.site-footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 28px 0;
    background: rgba(0, 0, 0, 0.14);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.footer-brand {
    max-width: 620px;
}

.footer-brand-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.footer-country {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}

.footer-flag {
    width: 18px;
    height: 18px;
    object-fit: cover;
    border-radius: 50%;
}

.footer-brand p {
    margin: 8px 0 0;
    max-width: 680px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: #d5e2f4;
}

    .footer-links a {
        color: inherit;
        text-decoration: none;
        opacity: 0.82;
    }

        .footer-links a:hover {
            opacity: 1;
        }

@media (max-width: 1100px) {
    .login-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 0;
    }

    .login-left {
        display: none;
    }

    .login-right {
        width: 100%;
    }

    .login-card {
        max-width: 560px;
        margin: 0 auto;
    }

    .header-inner {
        min-height: auto;
        padding: 14px 0;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px 18px;
    }

    .brand {
        width: 100%;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

.login-alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 107, 122, 0.35);
    background: rgba(255, 107, 122, 0.10);
    color: #ffb8bf;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.5;
    backdrop-filter: blur(10px);
}

.login-alert-item + .login-alert-item {
    margin-top: 6px;
}

.login-version {
    margin-top: 18px;
    text-align: center;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.04em;
    opacity: 0.75;
}

/* ================================
   HERMES MAINNET TESTNET POPUP
   login.css EN ALTINA EKLE
================================ */

@font-face {
    font-family: "Hermes7Segment";
    src: url("/fonts/dseg7-classic-latin-700-normal.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.hermes-mainnet-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 24px 18px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

    .hermes-mainnet-popup.show {
        display: flex;
    }

.hermes-mainnet-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3, 8, 20, 0.88);
    backdrop-filter: blur(12px);
}

.hermes-mainnet-modal {
    position: relative;
    z-index: 2;
    width: min(860px, 100%);
    margin: auto 0;
    padding: 34px 34px 32px;
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at 18% 10%, rgba(32, 199, 255, 0.18), transparent 32%), radial-gradient(circle at 82% 16%, rgba(77, 226, 208, 0.14), transparent 34%), linear-gradient(145deg, rgba(10, 25, 48, 0.97), rgba(6, 17, 29, 0.99));
    border: 1px solid rgba(108, 150, 214, 0.30);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58), inset 0 0 42px rgba(32, 199, 255, 0.045);
    color: var(--text);
    text-align: center;
    overflow: hidden;
}

    .hermes-mainnet-modal::before {
        content: "";
        position: absolute;
        inset: 12px;
        border-radius: 22px;
        border: 1px solid rgba(32, 199, 255, 0.10);
        pointer-events: none;
    }

.hermes-mainnet-close {
    position: absolute;
    top: 16px;
    right: 18px;
    z-index: 3;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(108, 150, 214, 0.34);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: var(--primary);
    font-size: 25px;
    line-height: 34px;
    cursor: pointer;
    transition: var(--transition);
}

    .hermes-mainnet-close:hover {
        background: rgba(32, 199, 255, 0.12);
        color: var(--white);
        transform: rotate(90deg);
    }

.hermes-mainnet-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(32, 199, 255, 0.10);
    border: 1px solid rgba(32, 199, 255, 0.34);
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.22em;
}

.hermes-mainnet-title {
    margin: 0 0 16px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
    color: var(--white);
}

.hermes-mainnet-desc {
    margin: 0 auto 18px;
    max-width: 690px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.hermes-mainnet-desc-small {
    margin-top: 22px;
    margin-bottom: 14px;
}

.hermes-mainnet-faucets {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 24px 0;
}

    .hermes-mainnet-faucets a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        padding: 0 22px;
        border-radius: 999px;
        background: linear-gradient(135deg, var(--primary), var(--primary-2));
        color: #06111d;
        font-size: 15px;
        font-weight: 900;
        box-shadow: 0 12px 30px rgba(32, 199, 255, 0.20);
        transition: var(--transition);
    }

        .hermes-mainnet-faucets a:hover {
            transform: translateY(-1px);
            box-shadow: 0 16px 38px rgba(32, 199, 255, 0.28);
        }

.hermes-mainnet-date {
    display: inline-block;
    margin: 4px 0 24px;
    padding: 10px 24px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(32, 199, 255, 0.30);
    color: var(--primary-2);
    font-family: "Hermes7Segment", "Digital-7", "DS-Digital", "Courier New", monospace;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.18em;
    box-shadow: inset 0 0 24px rgba(32, 199, 255, 0.08), 0 0 18px rgba(77, 226, 208, 0.10);
}

/* TEK PARÇA ESKİ USUL 7-SEGMENT DİJİTAL SAAT */
.hermes-digital-countdown {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: min(760px, 100%);
    margin: 10px auto 0;
    padding: 22px 24px 18px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015)), linear-gradient(180deg, #06090d 0%, #0a1118 48%, #030609 100%);
    border: 1px solid rgba(32, 199, 255, 0.28);
    box-shadow: inset 0 0 14px rgba(0, 0, 0, 0.85), inset 0 0 34px rgba(32, 199, 255, 0.08), 0 18px 42px rgba(0, 0, 0, 0.38), 0 0 32px rgba(32, 199, 255, 0.12);
}

    .hermes-digital-countdown::before {
        content: "";
        position: absolute;
        inset: 7px;
        border-radius: 7px;
        border: 1px solid rgba(77, 226, 208, 0.10);
        pointer-events: none;
    }

    .hermes-digital-countdown::after {
        content: "";
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient( 0deg, rgba(255,255,255,0.035) 0, rgba(255,255,255,0.035) 1px, transparent 1px, transparent 4px );
        opacity: 0.22;
        pointer-events: none;
    }

.hermes-digital-unit {
    position: relative;
    z-index: 2;
    min-width: 112px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

    .hermes-digital-unit span {
        display: block;
        font-family: "Hermes7Segment", "Digital-7", "DS-Digital", "Courier New", monospace;
        font-size: clamp(58px, 7vw, 92px);
        font-weight: 400;
        line-height: 0.85;
        letter-spacing: 0.02em;
        color: var(--primary);
        font-variant-numeric: tabular-nums;
        text-shadow: 0 0 3px rgba(32, 199, 255, 1), 0 0 8px rgba(32, 199, 255, 0.95), 0 0 18px rgba(32, 199, 255, 0.78), 0 0 34px rgba(77, 226, 208, 0.45), 0 0 52px rgba(32, 199, 255, 0.28);
    }

    .hermes-digital-unit small {
        display: block;
        margin-top: 12px;
        color: rgba(243, 247, 255, 0.64);
        font-size: 11px;
        font-weight: 900;
        letter-spacing: 0.22em;
    }

.hermes-digital-separator {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    color: var(--primary-2);
    font-family: "Hermes7Segment", "Digital-7", "DS-Digital", "Courier New", monospace;
    font-size: clamp(52px, 6vw, 82px);
    font-weight: 400;
    line-height: 0.85;
    transform: translateY(-11px);
    text-shadow: 0 0 3px rgba(77, 226, 208, 1), 0 0 10px rgba(77, 226, 208, 0.85), 0 0 22px rgba(32, 199, 255, 0.38);
}

.hermes-mainnet-footer-note {
    margin-top: 24px;
    color: rgba(243, 247, 255, 0.66);
    font-size: 13px;
    letter-spacing: 0.05em;
}

/* MOBİL - TEK SATIR BOZULMADAN */
@media (max-width: 720px) {
    .hermes-mainnet-popup {
        align-items: flex-start;
        padding: 14px 10px 48px;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .hermes-mainnet-modal {
        width: 100%;
        margin: 0;
        padding: 28px 14px 24px;
        border-radius: 22px;
        overflow: visible;
    }

    .hermes-mainnet-title {
        font-size: 26px;
        padding: 0 28px;
    }

    .hermes-mainnet-desc {
        font-size: 14px;
        line-height: 1.65;
    }

    .hermes-mainnet-faucets {
        gap: 10px;
        margin: 20px 0;
    }

        .hermes-mainnet-faucets a {
            width: 100%;
            min-height: 44px;
            font-size: 14px;
        }

    .hermes-mainnet-date {
        font-size: 18px;
        letter-spacing: 0.12em;
        margin-bottom: 20px;
    }

    .hermes-digital-countdown {
        flex-wrap: nowrap;
        gap: 4px;
        width: 100%;
        padding: 16px 6px 14px;
        overflow: hidden;
    }

    .hermes-digital-unit {
        min-width: 0;
        flex: 1 1 0;
    }

        .hermes-digital-unit span {
            font-size: clamp(30px, 10vw, 43px);
            line-height: 0.88;
            letter-spacing: 0.01em;
        }

        .hermes-digital-unit small {
            margin-top: 8px;
            font-size: 7px;
            letter-spacing: 0.08em;
        }

    .hermes-digital-separator {
        font-size: clamp(22px, 7vw, 32px);
        transform: translateY(-8px);
    }

    .hermes-mainnet-footer-note {
        font-size: 11px;
        line-height: 1.5;
    }
}

@media (max-width: 380px) {
    .hermes-digital-countdown {
        gap: 2px;
        padding: 14px 5px 12px;
    }

    .hermes-digital-unit span {
        font-size: clamp(26px, 8.8vw, 36px);
    }

    .hermes-digital-unit small {
        font-size: 6.5px;
        letter-spacing: 0.06em;
    }

    .hermes-digital-separator {
        font-size: 22px;
    }
}