/* TikTok Blue Badge Application Styles */
:root {
    --tt-red: #ff0050;
    --tt-blue: #25f4ee;
    --tt-dark: #181818;
    --tt-black: #101010;
    --tt-gray: #232323;
    --tt-light: #fafafa;
    --tt-border: #292929;
    --tt-card: #1e1e1e;
    --tt-accent: #ff0050;
    --tt-accent2: #25f4ee;
    --tt-shadow: 0 4px 32px 0 rgba(255,0,80,0.10), 0 1.5px 8px 0 rgba(37,244,238,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, var(--tt-black) 0%, var(--tt-dark) 100%);
    color: var(--tt-light);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 900px;
    min-width: 320px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--tt-black);
    box-shadow: var(--tt-shadow);
    border-radius: 24px;
    position: relative;
    overflow: visible;
    transition: max-width 0.4s cubic-bezier(.4,0,.2,1);
}

/* Background Animation */
.bg-animation {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

.bg-animation::before {
    content: '';
    position: absolute;
    top: -40%; left: -40%; width: 180%; height: 180%;
    background: radial-gradient(circle, var(--tt-accent) 0%, transparent 70%);
    opacity: 0.13;
    filter: blur(8px);
    animation: rotate 18s linear infinite;
}

.bg-animation::after {
    content: '';
    position: absolute;
    bottom: -40%; right: -40%; width: 180%; height: 180%;
    background: radial-gradient(circle, var(--tt-accent2) 0%, transparent 70%);
    opacity: 0.10;
    filter: blur(8px);
    animation: rotate 22s linear infinite reverse;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner {
    animation: spin 1s linear infinite;
}

/* Header Styles */
.tt-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0,0,0,0.08);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    border: 1.5px solid rgba(255,255,255,0.07);
    padding: 18px 40px 18px 60px;
    min-height: 60px;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    max-width: 900px;
}

.tt-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tt-logo {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -2px;
}

.tt-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 2px;
}

.tt-dot-red { background: #ff0050; }
.tt-dot-blue { background: #25f4ee; }

.tt-header-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-left: 10px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.tt-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}

.tt-header-login-btn {
    background: #ff0050;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 14px;
    padding: 8px 22px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px 0 rgba(255,0,80,0.10);
    margin-left: 18px;
    outline: none;
}

.tt-header-login-btn:hover {
    background: #e6004a;
    box-shadow: 0 4px 16px 0 rgba(255,0,80,0.18);
}

/* Page Styles */
.page {
    display: none;
    padding: 100px 32px 20px 32px;
    position: relative;
    z-index: 2;
    background: transparent;
    animation: fadeInPage 0.7s cubic-bezier(.4,0,.2,1);
}

.page.active {
    display: block;
    animation: fadeIn 0.5s cubic-bezier(.4,0,.2,1);
}

/* Code pages specific padding - PC only */
@media (min-width: 901px) {
    #mailcode, #code {
        padding: 90px 32px 16px 32px;
    }
}

/* Code pages mobile padding */
@media (max-width: 900px) {
    #mailcode, #code {
        padding: 18px 20px 14px 20px;
    }
}

@media (max-width: 600px) {
    #mailcode, #code {
        padding: 16px 16px 12px 16px;
    }
}

@media (max-width: 480px) {
    #mailcode, #code {
        padding: 14px 12px 10px 12px;
    }
}

@media (max-width: 360px) {
    #mailcode, #code {
        padding: 12px 10px 8px 10px;
    }
}

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

@keyframes fadeInPage {
    from { opacity: 0; transform: translateY(32px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header & Logo */
.header, .landing-header {
    text-align: center;
    padding: 48px 20px 32px;
    position: relative;
    z-index: 2;
}

.tiktok-logo {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient(90deg, var(--tt-accent), var(--tt-accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 17px;
    color: var(--tt-blue);
    margin-bottom: 24px;
    font-weight: 500;
}

/* Hero Section */
.landing-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0 30px 0;
    gap: 60px;
}

.hero-left {
    flex: 1;
    max-width: 540px;
}

.hero-title {
    font-size: 54px;
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 24px;
    color: var(--tt-light);
}

.hero-highlight {
    background: linear-gradient(90deg, var(--tt-accent), var(--tt-accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 36px;
}

.get-started-btn {
    background: #ff0050;
    color: #fff;
    border: none;
    padding: 16px 38px;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(255, 0, 80, 0.2);
    position: relative;
    overflow: hidden;
    transition: background 0.3s, box-shadow 0.2s, transform 0.2s;
}

.get-started-btn:hover {
    background: #e6004a;
    box-shadow: 0 8px 16px rgba(255, 0, 80, 0.3);
    transform: translateY(-2px) scale(1.04);
}

/* Hero Image */
.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 340px;
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tiktok-gif-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.tiktok-gif {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 16px 0 rgba(255,0,80,0.15);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Info Section */
.info-section {
    padding: 48px 0 32px 0;
    max-width: 800px;
    margin: 0 auto;
}

.info-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--tt-light);
    margin-bottom: 28px;
    text-align: center;
}

.info-content {
    color: #e0e0e0;
    font-size: 15px;
    line-height: 1.7;
}

.info-content p { 
    margin-bottom: 18px; 
}

/* Blue Badge */
.blue-badge-showcase {
    text-align: center;
    margin: 32px 0 24px 0;
}

.blue-badge {
    display: inline-block;
    position: relative;
    width: 110px; height: 110px;
    background: linear-gradient(45deg, #1DA1F2, #00acee);
    border-radius: 50%;
    margin-bottom: 16px;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 24px 0 rgba(37,244,238,0.13);
}

.blue-badge::before {
    content: '✓';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 54px;
    font-weight: bold;
    color: #fff;
}

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

/* Feature List */
.feature-list {
    margin: 28px 0 32px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 22px;
    padding: 16px 18px;
    background: var(--tt-card);
    border-radius: 14px;
    border: 1.5px solid var(--tt-border);
    box-shadow: 0 2px 8px 0 rgba(255,0,80,0.06);
}

.feature-icon {
    width: 44px; height: 44px;
    margin-right: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: linear-gradient(45deg, var(--tt-accent), var(--tt-accent2));
    color: #fff;
}

.feature-text h3 {
    font-size: 15px;
    margin-bottom: 3px;
    color: var(--tt-light);
    font-weight: 700;
}

.feature-text p {
    font-size: 13px;
    color: #e0e0e0;
}

/* Form Elements */
.form-group {
    margin-bottom: 32px;
}

.form-label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    color: #bdbdbd;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 15px 14px;
    border: 1.5px solid var(--tt-border);
    border-radius: 11px;
    background: var(--tt-gray);
    color: var(--tt-light);
    font-size: 15px;
    font-weight: 500;
    transition: border 0.2s, box-shadow 0.2s, background 0.3s, transform 0.2s;
}

.form-input:focus, .country-select:focus {
    border-color: #25f4ee;
    box-shadow: 0 0 0 3px rgba(37,244,238,0.13);
    background: #23242a;
    transform: scale(1.03);
}

.form-input:hover, .country-select:hover {
    border-color: #ff0050;
    background: #23232a;
}

.form-input::placeholder {
    color: #bdbdbd;
    opacity: 1;
}

/* Phone Input */
.phone-input-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.country-select {
    width: 100px;
    padding: 15px 12px;
    border: 1.5px solid var(--tt-border);
    border-radius: 11px;
    background: var(--tt-gray);
    color: var(--tt-light);
    font-size: 15px;
    font-weight: 500;
    transition: border 0.2s, box-shadow 0.2s, background 0.3s, transform 0.2s;
    cursor: pointer;
}

.country-select:focus {
    outline: none;
    border-color: #ff0050;
    box-shadow: 0 0 0 2px rgba(255,0,80,0.10);
}

.phone-input {
    flex: 1;
}

/* Code Inputs */
.code-input {
    width: 45px !important;
    height: 55px !important;
    font-size: 1.8rem !important;
    margin-right: 8px !important;
    border: 2px solid #292929 !important;
    border-radius: 8px !important;
    background: #232323 !important;
    color: #fff !important;
    text-align: center !important;
    transition: border 0.2s, box-shadow 0.2s;
    max-width: 45px;
    flex-shrink: 0;
}

.code-input:last-child { 
    margin-right: 0 !important; 
}

.code-input:focus { 
    border-color: #25f4ee !important; 
    box-shadow: 0 0 0 2px #25f4ee55 !important; 
}

/* Code input containers */
#mailcode-inputs, #smscode-inputs {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
    max-width: 100% !important;
    overflow: visible !important;
}

/* Buttons */
.btn {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 11px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    background: #ff0050;
    color: #fff;
    box-shadow: 0 6px 12px rgba(255, 0, 80, 0.2);
    position: relative;
    overflow: hidden;
    transition: background 0.3s, box-shadow 0.2s, transform 0.2s, filter 0.2s;
    margin-top: 18px;
}

/* Coin options */
.coin-options {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.coin-option {
    flex: 1;
    background: var(--tt-card);
    border: 1.5px solid var(--tt-border);
    border-radius: 12px;
    padding: 14px 12px;
    text-align: center;
    font-weight: 800;
    cursor: pointer;
    transition: border 0.2s, box-shadow 0.2s, transform 0.15s, background 0.2s;
    user-select: none;
}

.coin-option:hover {
    border-color: var(--tt-accent2);
    transform: translateY(-2px);
}

.coin-option.active {
    border-color: var(--tt-accent2);
    box-shadow: 0 0 0 3px rgba(37,244,238,0.12);
    background: #23242a;
}

.coin-icon {
    display: inline-flex;
    vertical-align: middle;
    margin-right: 6px;
}

.coin-banner {
    margin-top: 12px;
    display: flex;
    justify-content: center;
}

.coin-banner-text {
    font-size: 13px;
    color: #bdbdbd;
    background: rgba(37,244,238,0.08);
    border: 1px solid rgba(37,244,238,0.18);
    padding: 8px 12px;
    border-radius: 10px;
}

.coin-banner-amount {
    color: #25f4ee;
    font-weight: 800;
}

.btn:hover {
    background: #e6004a;
    box-shadow: 0 8px 16px rgba(255, 0, 80, 0.3);
    transform: translateY(-2px) scale(1.03);
}

.btn:active {
    filter: brightness(0.95) saturate(1.2);
    transform: scale(0.98);
}

.btn:focus {
    outline: 2px solid #25f4ee;
    outline-offset: 2px;
}

/* Loading Animation */
.loading {
    display: none;
    text-align: center;
    padding: 40px 10px 10px 10px;
}

.loading-spinner {
    width: 48px; height: 48px;
    border: 4px solid rgba(255,255,255,0.10);
    border-top: 4px solid var(--tt-accent2);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 18px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Animation */
.success-animation {
    text-align: center;
    padding: 40px 10px 10px 10px;
}

.success-icon {
    width: 80px; height: 80px;
    margin: 0 auto 22px;
    background: linear-gradient(90deg, var(--tt-accent), var(--tt-accent2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    animation: successPulse 1.2s cubic-bezier(.4,0,.2,1);
}

@keyframes successPulse {
    0% { transform: scale(0); }
    50% { transform: scale(1.18); }
    100% { transform: scale(1); }
}

/* Login Error Modal */
.login-error-modal {
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.25);
    display: flex; align-items: center; justify-content: center;
    animation: loginErrorFadeIn 0.45s cubic-bezier(.4,0,.2,1);
}

@keyframes loginErrorFadeIn {
    from { opacity: 0; transform: translateY(-32px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-error-modal-content {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 32px 0 rgba(255,0,80,0.10);
    padding: 38px 32px 32px 32px;
    min-width: 320px;
    max-width: 90vw;
    text-align: center;
    position: relative;
    animation: loginErrorContentPop 0.45s cubic-bezier(.4,0,.2,1);
}

@keyframes loginErrorContentPop {
    from { opacity: 0; transform: translateY(-32px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.login-error-modal-icon {
    font-size: 54px;
    color: #ff0050;
    border: 3px solid #ff0050;
    border-radius: 50%;
    width: 80px; height: 80px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px auto;
}

.login-error-modal-title {
    font-size: 2rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 10px;
}

.login-error-modal-msg {
    color: #444;
    font-size: 1.1rem;
    margin-bottom: 28px;
}

.login-error-modal-btn {
    background: #ff0050;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 11px;
    padding: 14px 0;
    border: none;
    width: 100%;
    box-shadow: 0 6px 12px rgba(255, 0, 80, 0.2);
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.login-error-modal-btn:hover {
    background: #e6004a;
    box-shadow: 0 8px 16px rgba(255, 0, 80, 0.3);
    transform: translateY(-2px) scale(1.03);
}

/* Footer */
.tt-footer {
    width: 100%;
    background: rgba(24,24,24,0.98);
    color: #fff;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin-top: 48px;
    border-top: 1px solid #222;
}

.footer-download {
    text-align: center;
    padding: 32px 0 18px 0;
    border-bottom: 1px solid #222;
}

.footer-download-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-download-apps {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-app-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 8px 18px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.10);
    transition: background 0.2s, border 0.2s;
}

.footer-app-btn:hover {
    background: #232323;
    border: 1px solid #ff0050;
}

.footer-app-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.footer-main {
    padding: 32px 0 0 0;
}

.footer-main-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    padding: 0 24px;
}

.footer-logo-col {
    min-width: 120px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.footer-logo-img {
    width: 160px;
    height: auto;
    margin-top: 8px;
}

.footer-cols {
    display: flex;
    gap: 48px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 160px;
}

.footer-title {
    font-weight: 700;
    font-size: 1.08rem;
    margin-bottom: 6px;
    color: #fff;
    letter-spacing: 0.01em;
}

.footer-link {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.98rem;
    transition: color 0.2s;
    opacity: 0.85;
}

.footer-link:hover {
    color: #ff0050;
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 32px auto 0 auto;
    padding: 18px 24px 18px 24px;
    border-top: 1px solid #222;
    font-size: 0.97rem;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-lang-select {
    margin-left: 8px;
}

#footer-lang {
    background: #181818;
    color: #fff;
    border: 1px solid #292929;
    border-radius: 6px;
    padding: 6px 18px 6px 10px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    margin-right: 8px;
}

#footer-lang:focus {
    border-color: #ff0050;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container { max-width: 100%; border-radius: 0; }
    .hero-section { flex-direction: column; gap: 40px; padding: 40px 0 20px 0; }
    .hero-title { font-size: 42px; }
    .hero-description { font-size: 18px; }
    .landing-content { padding: 0 24px; }
}

@media (max-width: 900px) {
    .container { max-width: 100vw; border-radius: 0; }
    .hero-section { flex-direction: column; gap: 32px; padding: 36px 0 18px 0; }
    .hero-image { width: 260px; height: 260px; }
    .landing-content { padding: 0 20px; }
    .form-group { margin-bottom: 20px; }
    .form-input { padding: 14px 16px; font-size: 15px; }
    .btn { padding: 16px; font-size: 15px; }
    .country-select { width: 90px; padding: 14px 10px; font-size: 14px; }
    .phone-input-group { gap: 10px; }
    .page { padding: 24px 16px 16px 16px; }
    .tt-header { padding: 12px 10px 12px 20px; }
    .tt-logo { font-size: 28px; }
    .tt-header-title { font-size: 16px; }
    .tt-header-login-btn { font-size: 14px; padding: 7px 16px; border-radius: 10px; margin-left: 10px; }
    .footer-main-content, .footer-bottom { flex-direction: column; align-items: center; gap: 24px; }
    .footer-cols { flex-direction: column; gap: 24px; }
    .footer-col { min-width: 120px; }
    .footer-logo-img { width: 120px; }
}

@media (max-width: 600px) {
    .container { max-width: 100vw; border-radius: 0; }
    .header, .landing-header { padding: 32px 10px 18px; }
    .hero-title { font-size: 32px; }
    .hero-image { width: 160px; height: 160px; }
    .info-title { font-size: 22px; }
    .blue-badge { width: 70px; height: 70px; }
    .blue-badge::before { font-size: 32px; }
    .feature-item { padding: 10px 8px; }
    .feature-icon { width: 28px; height: 28px; font-size: 14px; }
    .btn { font-size: 13px; padding: 12px; }
    .form-input { font-size: 13px; padding: 10px 8px; }
    .landing-content { padding: 0 16px; }
    .hero-section { padding: 24px 0 12px 0; gap: 24px; }
    .hero-description { font-size: 16px; margin-bottom: 24px; }
    .info-section { padding: 32px 0 24px 0; }
    .form-group { margin-bottom: 18px; }
    .country-select { width: 80px; padding: 12px 8px; font-size: 13px; }
    .phone-input-group { gap: 8px; }
    .page { padding: 20px 16px 12px 16px; }
    .tt-header { flex-direction: row; align-items: center; justify-content: space-between; padding: 12px 20px; min-height: unset; gap: 0; width: 100%; box-sizing: border-box; }
    .tt-header-left { flex-direction: row; align-items: center; justify-content: flex-start; gap: 8px; width: auto; }
    .tt-logo { font-size: 20px; }
    .tt-header-title { font-size: 13px; margin: 0 0 0 5px; text-align: left; line-height: 1.1; }
    .tt-header-login-btn { font-size: 13px; padding: 7px 10px; border-radius: 8px; margin-left: 6px; }
    .tt-footer { border-radius: 0; padding: 0; }
    .footer-download { padding: 18px 0 10px 0; }
    .footer-main { padding: 18px 0 0 0; }
    .footer-main-content { gap: 18px; }
    .footer-cols { gap: 12px; }
    .footer-logo-img { width: 100px; }
    .footer-title { font-size: 1rem; }
    .footer-link { font-size: 0.93rem; }
    .footer-bottom { font-size: 0.93rem; padding: 12px 0 12px 0; margin: 18px auto 0 auto; }
    .footer-download-apps { gap: 12px; }
    .footer-app-btn { padding: 6px 12px; font-size: 0.9rem; }
    .footer-app-icon { width: 28px; height: 28px; }
    
    /* Code inputs for mobile */
    .code-input {
        width: 38px !important;
        height: 48px !important;
        font-size: 1.5rem !important;
        margin-right: 6px !important;
        border-radius: 6px !important;
    }
    
    #mailcode-inputs, #smscode-inputs {
        gap: 4px !important;
        padding: 0 10px !important;
        justify-content: space-between !important;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 28px; }
    .hero-description { font-size: 16px; }
    .landing-content { padding: 0 12px; }
    .hero-section { padding: 20px 0 10px 0; gap: 20px; }
    .hero-image { width: 140px; height: 140px; }
    .info-section { padding: 24px 0 20px 0; }
    .info-title { font-size: 20px; }
    .info-content { font-size: 14px; }
    .form-group { margin-bottom: 16px; }
    .country-select { width: 70px; padding: 10px 6px; font-size: 12px; }
    .phone-input-group { gap: 6px; }
    .page { padding: 18px 12px 10px 12px; }
    .tt-header { padding: 10px 16px; }
    .tt-logo { font-size: 18px; }
    .tt-header-title { font-size: 12px; margin: 0 0 0 4px; }
    .tt-dot { width: 6px; height: 6px; }
    .footer-download { padding: 16px 0 8px 0; }
    .footer-download-title { font-size: 1.1rem; margin-bottom: 14px; }
    .footer-download-apps { gap: 8px; }
    .footer-app-btn { padding: 5px 10px; font-size: 0.85rem; }
    .footer-app-icon { width: 24px; height: 24px; }
    .footer-main { padding: 16px 0 0 0; }
    .footer-main-content { gap: 16px; }
    .footer-cols { gap: 10px; }
    .footer-logo-img { width: 80px; }
    .footer-title { font-size: 0.95rem; }
    .footer-link { font-size: 0.9rem; }
    .footer-bottom { font-size: 0.9rem; padding: 10px 0 10px 0; margin: 16px auto 0 auto; }
    
    /* Code inputs for small mobile */
    .code-input {
        width: 32px !important;
        height: 42px !important;
        font-size: 1.3rem !important;
        margin-right: 4px !important;
        border-radius: 5px !important;
    }
    
    #mailcode-inputs, #smscode-inputs {
        gap: 3px !important;
        padding: 0 5px !important;
        max-width: calc(100vw - 40px) !important;
    }
}

@media (max-width: 360px) {
    .hero-title { font-size: 24px; }
    .hero-description { font-size: 14px; }
    .landing-content { padding: 0 10px; }
    .hero-section { padding: 16px 0 8px 0; gap: 16px; }
    .hero-image { width: 120px; height: 120px; }
    .info-section { padding: 20px 0 16px 0; }
    .info-title { font-size: 18px; }
    .info-content { font-size: 13px; }
    .form-group { margin-bottom: 14px; }
    .country-select { width: 60px; padding: 8px 4px; font-size: 11px; }
    .phone-input-group { gap: 4px; }
    .page { padding: 16px 10px 8px 10px; }
    .tt-header { padding: 8px 12px; }
    .tt-logo { font-size: 16px; }
    .tt-header-title { font-size: 11px; margin: 0 0 0 3px; }
    .tt-header-left { gap: 6px; }
    .footer-download { padding: 14px 0 6px 0; }
    .footer-download-title { font-size: 1rem; margin-bottom: 12px; }
    .footer-download-apps { gap: 6px; }
    .footer-app-btn { padding: 4px 8px; font-size: 0.8rem; }
    .footer-app-icon { width: 20px; height: 20px; }
    .footer-main { padding: 14px 0 0 0; }
    .footer-main-content { gap: 14px; }
    .footer-cols { gap: 8px; }
    .footer-logo-img { width: 70px; }
    .footer-title { font-size: 0.9rem; }
    .footer-link { font-size: 0.85rem; }
    .footer-bottom { font-size: 0.85rem; padding: 8px 0 8px 0; margin: 14px auto 0 auto; }
    
    /* Code inputs for very small mobile */
    .code-input {
        width: 28px !important;
        height: 38px !important;
        font-size: 1.1rem !important;
        margin-right: 3px !important;
        border-radius: 4px !important;
    }
    
    #mailcode-inputs, #smscode-inputs {
        gap: 2px !important;
        padding: 0 3px !important;
        max-width: calc(100vw - 30px) !important;
        justify-content: center !important;
    }
}
