/* --- Global  style   */
:root { --purple: #8A2BE2; --dark-bg: #202029; --light-bg: #FCFAFF; --text-dark: #222; --text-light: #ffffff; --text-muted: #c0c0d0; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background-color: var(--light-bg); color: var(--text-dark); overflow-x: hidden; font-size: 1.6rem; }
.container { max-width: 120rem; margin: 0 auto; padding: 0 2rem; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

 header {
    padding: 2.5rem 0;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: var(--light-bg);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}
header.scrolled { padding: 1.5rem 0; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 2.4rem; font-weight: 800; color: var(--purple); }
.nav-menu { display: flex; align-items: center; gap: 4rem; }
.nav-links { display: flex; gap: 4rem; }
.nav-links a { font-size: 1.6rem; font-weight: 500; display: flex; align-items: center; gap: 0.5rem; transition: color 0.3s; }
.nav-links a svg { transition: transform 0.3s ease; }
.nav-links a:hover { color: var(--purple); }
.nav-links a:hover svg { transform: translateY(2px); }
.nav-links a.active { color: var(--purple); font-weight: 700; }
.auth-links { display: flex; gap: 2.5rem; font-weight: 700; }
.auth-links a { text-decoration: underline; text-underline-offset: 4px; }
.hamburger { display: none; background: none; border: none; cursor: pointer; z-index: 1001; }
.hamburger svg.close { display: none; }
.hamburger.active svg.open { display: none; }
.hamburger.active svg.close { display: block; }

/* --- Style ogólne i przyciski --- */
.cta-button, .cta-button-light { font-size: 1.6rem; font-weight: 700; padding: 1.8rem 3rem; border: none; border-radius: 5rem; cursor: pointer; display: inline-flex; align-items: center; gap: 1rem; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.cta-button { background-color: #1E1E1E; color: white; }
.cta-button:hover { transform: scale(1.05) translateY(-2px); box-shadow: 0 8px 15px rgba(30, 30, 30, 0.2); }
.cta-button-light { background-color: var(--text-light); color: #1E1E1E; padding: 1.6rem 2.8rem; }
.cta-button-light:hover { transform: scale(1.05); box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1); }
.marquee { background: linear-gradient(90deg, #e1d1ff, #c3eaff); padding: 1.5rem 0; overflow: hidden; white-space: nowrap; }
.marquee-content { display: inline-block; animation: marquee 40s linear infinite; }
@keyframes marquee { from { transform: translateX(0%); } to { transform: translateX(-50%); } }
.marquee-content span { font-size: 1.8rem; font-weight: 500; margin: 0 1.5rem; color: #444; }
.marquee-content .dot-separator { color: var(--purple); }
.positive { color: #28a745; }
.negative { color: #dc3545; }
.spinner { border: 4px solid rgba(0, 0, 0, 0.1); width: 36px; height: 36px; border-radius: 50%; border-left-color: var(--purple); animation: spin 1s ease infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-cell { text-align: center; padding: 4rem !important; }
.loading-cell span { margin-top: 1rem; color: #888; display: block; }
.loading-cell .spinner { margin: 0 auto; }
.api-error { padding: 3rem; text-align: center; color: #dc3545; font-weight: 500; }

/* --- Sekcja Hero --- */
.hero { position: relative; padding: 6rem 0; }
.hero-background-text { position: absolute; top: 50%; left: 45%; transform: translate(-50%, -50%); font-size: 25rem; font-weight: 800; color: rgba(230, 230, 250, 0.5); z-index: -1; user-select: none; white-space: nowrap; }
.hero-content { display: flex; align-items: center; gap: 5rem; }
.hero-text { flex: 1; max-width: 50%; }
.tag-line { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem; }
.tag-purple { background-color: var(--purple); color: white; padding: 0.8rem 1.8rem; border-radius: 2rem; font-weight: 700; }
h1 { font-size: 5.6rem; font-weight: 800; line-height: 1.2; margin-bottom: 3rem; }
h1 .highlight { background-color: #E9D8FF; padding: 0 0.5rem; border-radius: 0.5rem; }
.features-list { display: flex; gap: 2.5rem; margin-bottom: 4rem; flex-wrap: wrap; }
.features-list span { display: flex; align-items: center; gap: 1rem; background-color: #F7F0FF; padding: 1rem 1.5rem; border-radius: 2rem; font-weight: 500; }
.hero-images { flex: 1.2; position: relative; min-height: 60rem; }
.purple-glow { position: absolute; width: 40rem; height: 40rem; background: radial-gradient(circle, rgba(138, 43, 226, 0.15), transparent 70%); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 0; }
.image-wrapper { position: absolute; border-radius: 2.4rem; overflow: hidden; background-color: white; padding: 1rem; box-shadow: 0 2rem 5rem rgba(118, 59, 184, 0.1); z-index: 1; transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease; animation: fadeInUp 1s ease-out forwards; opacity: 0; }
.image-wrapper:hover { transform: translateY(-12px) scale(1.03); box-shadow: 0 2.5rem 6rem rgba(118, 59, 184, 0.2); z-index: 10; }
.image-wrapper img { width: 100%; height: 100%; object-fit: cover; border-radius: 1.6rem; }
.image-1 { width: 65%; height: 60%; top: 5%; left: 0; z-index: 1; animation-delay: 0.2s; }
.image-2 { width: 40%; height: 55%; top: 0; right: 0; z-index: 3; animation-delay: 0.1s; }
.image-3 { width: 50%; height: 40%; bottom: 0; left: 5%; z-index: 2; animation-delay: 0.3s; }
.image-4 { width: 40%; height: 45%; bottom: 5%; right: 5%; animation-delay: 0.4s; z-index: 10; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.overlay-text { position: absolute; top: 2rem; left: 2rem; padding: 1rem 2rem; border-radius: 1.2rem; font-weight: 800; color: var(--text-dark); z-index: 5; }
.overlay-cfd { background-color: #E9D8FF; font-size: 3.2rem; }
.overlay-join { background-color: white; font-size: 2.4rem; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

 .services-section { padding: 10rem 0; }
.services-section .marquee { margin: 5rem 0 12rem 0; transform: rotate(-2.5deg); }
.services-content { display: flex; align-items: center; gap: 8rem; }
.services-text { flex: 1.2; }
.services-text h2 { font-size: 4.8rem; font-weight: 800; line-height: 1.3; margin-bottom: 4rem; }
.dot-accent { position: relative; }
.dot-accent::before { content: ''; position: absolute; width: 1rem; height: 1rem; background-color: var(--purple); border-radius: 50%; top: -0.5rem; right: -0.2rem; }
.growth-accent { position: relative; display: inline-block; }
.growth-accent::after { content: ''; position: absolute; bottom: -0.8rem; left: 0; right: 0; height: 0.8rem; background-image: url("data:image/svg+xml,%3Csvg width='100' height='12' viewBox='0 0 100 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 10C17.3333 3.33333 41.5 -4.5 54 6C66.5 16.5 83 10.5 98 6' stroke='%23E9D8FF' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E%0A"); background-repeat: no-repeat; background-size: 100% 100%; }
.services-media { flex: 1; }
.video-preview { position: relative; border-radius: 12rem; overflow: hidden; border: 8px solid var(--purple); margin-bottom: 2rem; }
.video-preview img { width: 100%; display: block; aspect-ratio: 1 / 1; object-fit: cover; }
.play-button { position: absolute; bottom: 3rem; right: 3rem; width: 6rem; height: 6rem; background: black; border-radius: 50%; display: flex; justify-content: center; align-items: center; cursor: pointer; transition: transform 0.3s; }
.play-button svg { margin-left: 4px; }
.play-button:hover { transform: scale(1.1); }
.media-description { font-size: 1.6rem; color: #555; line-height: 1.6; max-width: 90%; margin: 0 auto; text-align: center; }
.impact-section { background-color: var(--dark-bg); color: var(--text-light); padding: 10rem 0; }
.section-tag { display: inline-block; background-color: #d1fae5; color: #065f46; font-weight: 700; padding: 0.8rem 1.8rem; border-radius: 2rem; margin-bottom: 5rem; }
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5rem; }
.impact-item { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.impact-item.visible { opacity: 1; transform: translateY(0); }
.impact-number { font-size: 12rem; font-weight: 800; line-height: 1; margin-bottom: 2rem; -webkit-text-stroke: 1px rgba(138, 43, 226, 0.5); background: linear-gradient(180deg, #9f55ff 20%, #8A2BE2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; position: relative; display: inline-block; }
.impact-item h3 { font-size: 2.8rem; font-weight: 700; margin-bottom: 1.5rem; }
.impact-item p { font-size: 1.6rem; color: var(--text-muted); line-height: 1.7; }
.impact-item:nth-child(2) { transition-delay: 0.2s; }
.impact-item:nth-child(3) { transition-delay: 0.4s; }
.projects-intro-section { padding: 15rem 0; position: relative; text-align: center; overflow: hidden; }
.intro-background-burst { position: absolute; top: 50%; left: 50%; width: 150%; padding-bottom: 150%; transform: translate(-50%, -50%); background: conic-gradient(from 180deg at 50% 50%, rgba(138, 43, 226, 0) 0%, rgba(138, 43, 226, 0.05) 15%, rgba(138, 43, 226, 0) 30%); animation: rotateBurst 60s linear infinite; z-index: 0; }
@keyframes rotateBurst { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
.intro-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.intro-content h2 { font-size: 5rem; font-weight: 700; line-height: 1.3; max-width: 80rem; }
.intro-content .highlight-purple { color: var(--purple); }
.scribble-svg { margin: 3rem 0; }
#scribble-path { stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2s ease-in-out; }
.floating-dot { width: 1rem; height: 1rem; background-color: #9f55ff; border-radius: 50%; animation: floatDot 5s ease-in-out infinite; margin-bottom: 5rem; }
@keyframes floatDot { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(15px, 10px) scale(1.2); } 100% { transform: translate(0, 0) scale(1); } }
.section-tag-bottom { display: inline-block; background-color: #eef7f6; color: #1e7d69; font-weight: 700; padding: 0.8rem 1.8rem; border-radius: 2rem; }
.testimonials-section { padding: 12rem 0; position: relative; overflow: hidden; }
.world-map-bg { position: absolute; top: 50%; left: 50%; width: 120%; height: 120%; transform: translate(-50%, -50%); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 1000' width='2000' height='1000'%3E%3Cdefs%3E%3Cpattern id='p' width='40' height='20' patternUnits='userSpaceOnUse' patternTransform='scale(1) rotate(45)'%3E%3Cpath d='M20 0 v20 M0 10 h40' stroke-width='0.5' stroke='%23e5e7eb'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='none'/%3E%3Crect width='100%25' height='100%25' fill='url(%23p)'/%3E%3C/svg%3E"); opacity: 0.6; z-index: 0; user-select: none; pointer-events: none; }
.testimonial-container { position: relative; z-index: 1; display: flex; align-items: center; gap: 8rem; }
.testimonial-heading { flex: 1; }
.testimonial-heading .star-rating { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem; }
.testimonial-heading .star-rating .stars { background: var(--purple); color: white; padding: 1rem 2rem; border-radius: 5rem; font-size: 1.8rem; line-height: 1; }
.testimonial-heading .star-rating span { font-weight: 500; color: #444; }
.testimonial-heading h2 { font-size: 5rem; font-weight: 800; line-height: 1.2; position: relative; padding-bottom: 2rem; }
.testimonial-heading h2::after { content: ''; position: absolute; bottom: 0; left: 0; width: 10rem; height: 1rem; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 105 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.21991 10.5186C21.7824 3.73719 50.7107 -4.13038 68.7915 5.8115C86.8722 15.7534 99.4124 9.47957 102.553 7.82862' stroke='%238A2BE2' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E%0A"); background-repeat: no-repeat; background-size: contain; }
.testimonial-slider { flex: 1.5; position: relative; }
.testimonial-slides { position: relative; min-height: 15rem; }
.testimonial-slide { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out, visibility 0.4s; }
.testimonial-slide.active { opacity: 1; visibility: visible; transform: translateY(0); }
.testimonial-slide blockquote { font-size: 2rem; font-weight: 500; line-height: 1.7; margin-bottom: 3rem; border: none; padding: 0; }
.testimonial-slide cite { font-style: normal; font-weight: 700; font-size: 1.4rem; text-transform: uppercase; color: var(--purple); }
.testimonial-slide cite span { color: #555; font-weight: 500; }
.slider-nav { display: flex; gap: 1rem; margin-top: 3rem; }
.slider-arrow { background-color: #fff; border: 1px solid #eee; width: 5rem; height: 5rem; border-radius: 50%; cursor: pointer; font-size: 2rem; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.slider-arrow:hover { background-color: var(--purple); color: #fff; transform: scale(1.1); }
.slider-arrow:disabled { opacity: 0.5; cursor: not-allowed; transform: scale(1); background-color: #f0f0f0; }

 .site-footer {
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow: hidden;
    position: relative;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
    background-size: 25px 25px;
}
.site-footer .marquee { transform: rotate(2.5deg) scale(1.1); margin: 4rem 0; }
.footer-main-content { padding: 10rem 2rem 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4rem; }
.footer-cta h2 { font-size: 5.5rem; font-weight: 700; line-height: 1.2; margin-bottom: 3rem; }
.footer-image-stack { position: relative; width: 40rem; height: 25rem; margin-bottom: 10rem; }
.footer-image { position: absolute; border-radius: 1.5rem; overflow: hidden; background: var(--light-bg); padding: 0.8rem; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3); transition: transform 0.4s ease; }
.footer-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 1rem; display: block; }
.image-front { width: 32rem; height: 22rem; z-index: 2; top: 50%; left: 50%; transform: translate(-45%, -50%) rotate(-5deg); }
.image-back { width: 32rem; height: 22rem; z-index: 1; top: 50%; left: 50%; transform: translate(-55%, -50%) rotate(5deg); }
.footer-image-stack:hover .image-front { transform: translate(-45%, -55%) rotate(-8deg) scale(1.05); }
.footer-image-stack:hover .image-back { transform: translate(-55%, -45%) rotate(8deg) scale(1.05); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 3rem 0; }
.footer-bottom-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; }
.footer-bottom-nav { display: flex; gap: 5rem; align-items: center; }
.footer-links { padding: 0; display: flex; gap: 4rem; }
.footer-links a, .footer-contact-simple a { color: var(--text-light); transition: color 0.3s; }
.footer-links a:hover, .footer-contact-simple a:hover { color: var(--purple); }
.footer-contact-simple h4 { color: var(--text-muted); font-size: 1.2rem; font-weight: 700; text-transform: uppercase; margin-bottom: 0.5rem; }
.footer-contact-simple a { font-size: 1.6rem; }
.footer-copyright p { color: var(--text-muted); font-size: 1.4rem; }

/* ================================================= */
/* ========= DASHBOARD  ========== */
/* ================================================= */

.dashboard-body { background-color: #f7f9fc; }
  

.dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.withdraw-container {
    padding: 6rem 2rem;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Sidebar - Nowy design */
.sidebar {
    background-color: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid #eef2f9;
    box-shadow: 0 5px 25px rgba(210, 218, 235, 0.3);
    position: sticky;
    top: 4rem;
}
.profile-summary {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eef2f9;
    padding-bottom: 2rem;
}
.profile-avatar-placeholder {
    width: 100px; height: 100px;
    border: 2px dashed #d9e0ed;
    background-color: #f7f9fc;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: #8c96b0;
}
.avatar-upload-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    background-color: var(--purple);
    color: white;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.profile-summary h3 { font-size: 1.8rem; font-weight: 600; color: #1a2035; margin: 0 0 0.5rem; }
.profile-summary p { font-size: 1.3rem; color: #8c96b0; }
.sidebar-nav { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.sidebar-link {
    padding: 1.1rem 2.5rem;
    font-weight: 500;
    font-size: 1.5rem;
    color: #5a6685;
    border-radius: 10px;
    transition: all 0.2s ease;
    display: inline-block;
}
.sidebar-link:hover { color: var(--purple); }
.sidebar-link.active {
    background-color: var(--purple);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

 .balance-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 3rem;
    box-shadow: 0 5px 25px rgba(210, 218, 235, 0.3);
    border: 1px solid #eef2f9;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
}
.balance-main .card-title { font-size: 1.5rem; color: #8c96b0; font-weight: 500; margin-bottom: 0.5rem; }
.balance-main h2 { font-size: 4.2rem; font-weight: 700; color: var(--purple); }
.balance-sub { display: flex; gap: 3rem; flex-wrap: wrap; }
.balance-sub li { font-size: 1.5rem; color: #5a6685; }
.balance-sub li span { color: #1a2035; font-weight: 600; }
.balance-actions { display: flex; gap: 1.5rem; }
.balance-actions a { padding: 1.4rem 3.5rem; border-radius: 12px; font-weight: 600; text-align: center; font-size: 1.5rem; transition: all 0.2s; }
.balance-actions a:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.btn-deposit { background-color: var(--purple); color: white; box-shadow: 0 5px 20px rgba(138, 43, 226, 0.25); }
.btn-withdraw { background-color: #27ae60; color: #ffffff; }
.info-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.info-pill { background: #fff; border-radius: 12px; padding: 2rem; border: 1px solid #eef2f9; box-shadow: 0 5px 15px rgba(210, 218, 235, 0.2); }
.info-pill h4 { font-size: 1.4rem; color: #8c96b0; font-weight: 500; margin-bottom: 0.8rem; }
.info-pill p { font-weight: 600; font-size: 1.5rem; word-break: break-all; color: #1a2035; }

/* Karta rynku */
.market-card { background: #fff; border-radius: 16px; border: 1px solid #eef2f9; box-shadow: 0 5px 25px rgba(210, 218, 235, 0.3); }
.market-title { font-size: 1.8rem; font-weight: 600; padding: 2rem 2.5rem; border-bottom: 1px solid #eef2f9; color: #1a2035; }
.coin-table-wrapper { overflow-x: auto; }
.coin-table { width: 100%; border-collapse: collapse; font-size: 1.4rem; min-width: 700px; }
.coin-table th, .coin-table td { padding: 1.5rem 2rem; text-align: left; border-bottom: 1px solid #eef2f9; vertical-align: middle; }
.coin-table th { font-weight: 500; color: #8c96b0; text-transform: uppercase; font-size: 1.2rem; }
.coin-name-cell { display: flex; align-items: center; gap: 1.2rem; }
.coin-name-cell img { width: 32px; height: 32px; }
.text-right { text-align: right !important; }
.coin-table tbody tr:last-child td { border-bottom: none; }

 .withdraw-card-multistep {
    width: 100%;
    max-width: 900px;
    background-color: #fff;
    border-radius: 16px;
    border: 1px solid #eef2f9;
    box-shadow: 0 8px 30px rgba(210, 218, 235, 0.2);
}
.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn 0.4s ease-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.form-header { padding: 2.5rem 3.5rem; border-bottom: 1px solid #eef2f9; }
.form-title { font-size: 2.2rem; color: #1a2035; font-weight: 600; }
.form-title.green { color: #27ae60; }
.form-content { padding: 3.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.form-grid-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.section-title { font-size: 1.8rem; font-weight: 600; color: var(--purple); margin: 3rem 0 2rem; padding-bottom: 1rem; border-bottom: 1px solid #eef2f9; }
.form-group label { margin-bottom: 0.8rem; font-size: 1.4rem; color: #5a6685; display: block; }
.form-group input, .choices__inner { background-color: #f7f9fc; border-radius: 8px; border: 1px solid #dde3ee; padding: 1.4rem 1.8rem; font-size: 1.6rem; width: 100%; transition: border-color 0.2s, box-shadow 0.2s; }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.1); }
.choices__inner { min-height: auto !important; padding: 0.9rem 1.8rem !important; }
.choices__list--dropdown .choices__item--selectable.is-highlighted { background-color: #f3e9ff; }
.is-open .choices__inner { border-color: var(--purple) !important; background-color: #fff !important; }
.form-footer { display: flex; justify-content: flex-end; padding: 2rem 3.5rem; background: #f7f9fc; border-top: 1px solid #eef2f9; border-radius: 0 0 16px 16px; }
.form-footer.spaced { justify-content: space-between; }
.btn-next, .btn-submit, .btn-back { padding: 1.2rem 4rem; font-size: 1.5rem; border-radius: 8px; border: none; cursor: pointer;background-color: #27ae60; color: #fff; }
.btn-next.green, .btn-submit { background-color: #27ae60; color: #fff; }
.btn-back { background-color: #dde3ee; color: #5a6685; }


 @media (max-width: 992px) {
    html { font-size: 58%; }
    .hero-content { flex-direction: column; text-align: center; gap: 8rem; }
    .hero-text { max-width: 100%; order: 1; }
    .hero-images { width: 100%; max-width: 60rem; order: 2; }
    .tag-line, .features-list { justify-content: center; }
    .hero-background-text { font-size: 20rem; left: 50%; }
    .services-content { flex-direction: column; text-align: center; }
    .impact-grid { gap: 3rem; grid-template-columns: 1fr; text-align: center; }
    .intro-content h2 { font-size: 4.2rem; }
    .testimonial-container { flex-direction: column; text-align: center; }
    .testimonial-heading h2::after { left: 50%; transform: translateX(-50%); }
    .slider-nav { justify-content: center; }
    
    .dashboard-layout { grid-template-columns: 1fr; gap: 3rem; padding: 3rem 2rem; }
    .sidebar { position: static; margin-bottom: 0; }
    .balance-card { grid-template-columns: 1fr; text-align: left; }
    .balance-sub { justify-content: flex-start; }
    .balance-actions { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    html { font-size: 55%; }
    .hamburger { display: block; }
    .nav-menu { position: fixed; top: 0; left: -100%; width: 100%; height: 100vh; background-color: var(--light-bg); flex-direction: column; justify-content: center; align-items: center; gap: 5rem; transition: left 0.4s ease-in-out; z-index: 1000; }
    .nav-menu.active { left: 0; }
    .nav-links { flex-direction: column; align-items: center; }
    .auth-links { flex-direction: column; align-items: center; }
    h1 { font-size: 3.8rem; }
    .hero-background-text { display: none; }
    .hero-images { min-height: auto; position: static; display: flex; flex-direction: column; gap: 2.5rem; max-width: 45rem; margin: 0 auto; }
    .image-wrapper { position: relative; width: 100%; height: auto; animation: none; opacity: 1; top: auto; left: auto; right: auto; bottom: auto; transform: none !important; box-shadow: 0 2rem 5rem rgba(118, 59, 184, 0.1); }
    .image-wrapper img { aspect-ratio: 4 / 3; }
    .footer-bottom-container { flex-direction: column; gap: 4rem; text-align: center; }
    .footer-bottom-nav { flex-direction: column; align-items: center; gap: 4rem; }

 
    .dashboard-layout {
        display: block;
        padding: 3rem 2rem 85px; 
    }

    .info-pills { grid-template-columns: 1fr; }
    
    .sidebar {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        top: auto !important;
        z-index: 1000;
        
        background-color: #ffffff;
        border-top: 1px solid #eef2f9;
        border-radius: 0;
        height: 65px;
        padding: 0;
        box-shadow: 0 -4px 20px rgba(210, 218, 235, 0.4);
    }
    
    .sidebar .profile-summary {
        display: none;
    }
    
    .sidebar .sidebar-nav {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        height: 100%;
        width: 100%;
        gap: 0;
    }
    
    .sidebar .sidebar-link {
        flex-grow: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        padding: 0.5rem;
        font-size: 1.2rem;
        border-radius: 0;
    }
    
    .sidebar .sidebar-link.active {
         background-color: #f3e9ff;
         color: var(--purple);
         box-shadow: none;
    }
    
    .balance-card { 
        padding: 2.5rem 2rem; 
        gap: 1.5rem; 
        grid-template-columns: 1fr; 
        text-align: center;
    }
    .balance-main h2 {
        font-size: 3.4rem;
        margin-bottom: 1rem;
    }
    .balance-sub {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem 1.5rem;
        text-align: left;
        width: 100%;
        margin: 1.5rem 0;
    }
    .balance-actions { 
        grid-template-columns: 1fr; 
        gap: 1rem; 
    }

    .coin-table thead { display: none; }
    .coin-table tbody {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
    }
    .coin-table tr {
        margin-bottom: 0;
        border: 1px solid #eef2f9;
        background: #fff;
        border-radius: 12px;
        padding: 0;
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto;
        gap: 0 1rem;
        align-items: center;
    }
    .coin-table td {
        display: flex;
        padding: 0;
        border: none;
        height: 100%;
        align-items: center;
    }
    .coin-table td::before {
        display: none; 
    }
    .coin-table td.coin-identity {
        grid-column: 1 / 3;
        padding: 1.2rem 1.5rem;
    }
    .coin-identity .coin-name-cell strong {
        font-size: 1.6rem;
    }
    .price-and-change-group {
        grid-column: 3 / 4;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        padding: 1.2rem 1.5rem;
        height: 100%;
        background-color: #f7f9fc;
        border-radius: 0 12px 12px 0;
    }
    .price-and-change-group .price {
        font-weight: 600;
        font-size: 1.5rem;
    }
    .price-and-change-group .change {
        font-size: 1.3rem;
    }
    .coin-table td[data-label="#"],
    .coin-table td[data-label="Market Cap"],
    .coin-table td[data-label="Volume (24h)"] {
        display: none;
    }
    
    .form-grid, .form-grid-three { grid-template-columns: 1fr; gap: 2rem; }
    .withdraw-container { padding: 2rem 1.5rem; }
}
/* ================================================= */
/* ============ Verification Page Styles =========== */
/* ================================================= */

.verification-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;  
    padding-top: 4rem;  
}

.verification-card-alt {
    background-color: #fff;
    border-radius: 16px;
    padding: 4rem;
    box-shadow: 0 5px 25px rgba(210, 218, 235, 0.3);
    border: 1px solid #eef2f9;
    width: 100%;
    max-width: 550px;
    text-align: center;
}

.verification-card-alt h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a2035;
    margin-bottom: 1rem;
}

.verification-card-alt .verification-subtitle {
    color: #5a6685;
    margin-bottom: 3rem;
    font-size: 1.5rem;
    line-height: 1.6;
}

.verification-card-alt .form-group {
    margin-bottom: 2.5rem;
    text-align: left;  
}

.verification-card-alt .form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    color: #5a6685;
}

.verification-card-alt input {
    height: 60px;
    width: 100%;
    text-align: center;
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: 0.5rem;
    background-color: #f7f9fc;
    border: 1px solid #dde3ee;
    border-radius: 12px;
    padding: 1rem;  
}
.verification-card-alt input:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.1);
}

.btn-verify {
    width: 100%;
    padding: 1.6rem;
    border: none;
    border-radius: 12px;
    background: var(--purple);
    color: white;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, opacity 0.3s;
    position: relative;
    min-height: 55px;
}
.btn-verify:hover {
    background: #7A1DD1;
}
.btn-verify:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--purple);
}

/* Spinner for the button */
.btn-verify .btn-spinner {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}
.btn-verify.loading .btn-spinner {
    display: block;
}
.btn-verify.loading .btn-text {
    visibility: hidden;
}

/* Success Message Styles */
.verification-message {
    margin-top: 2rem;
    font-size: 1.4rem;
    font-weight: 500;
    min-height: 20px;
}
.verification-message.success {
    color: #28a745;
}
.verification-message.error {
    color: #dc3545;  
}

/* ================================================= */
/* ============= Edit Profile Page Styles ========== */
/* ================================================= */

.profile-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 3rem 4rem;
    box-shadow: 0 5px 25px rgba(210, 218, 235, 0.3);
    border: 1px solid #eef2f9;
}

.profile-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #1a2035;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eef2f9;
}

.profile-form .form-group {
    margin-bottom: 2.5rem;
}

.profile-form .form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 500;
    color: #5a6685;
}

.profile-form .form-group input {
    width: 100%;
    padding: 1.4rem 1.8rem;
    font-size: 1.5rem;
    border: 1px solid #dde3ee;
    border-radius: 8px;
    background-color: #f7f9fc;
    transition: all 0.2s ease-in-out;
}

.profile-form .form-group input:focus {
    outline: none;
    background-color: #fff;
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.1);
}

.profile-form .form-group input[readonly] {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.form-grid-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-grid-columns.small-gap {
    gap: 1.5rem;
}

.password-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a2035;
    margin-top: 4rem;
    margin-bottom: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eef2f9;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 3rem;
}

.btn-save {
    background-color: var(--purple);
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1.2rem 4.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-save:hover {
    background-color: #7A1DD1;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

 @media (max-width: 576px) {
    .form-grid-columns {
        grid-template-columns: 1fr;
    }
    .profile-card {
        padding: 2.5rem;
    }
}

/* ================================================= */
/* ======= Characters Verification Page Styles ======= */
/* ================================================= */

.char-verification-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 4rem;
}

.char-verification-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 4rem;
    box-shadow: 0 5px 25px rgba(210, 218, 235, 0.3);
    border: 1px solid #eef2f9;
    width: 100%;
    max-width: 600px;
}

.char-verification-card h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1a2035;
    text-align: center;
    margin-bottom: 3rem;
}

.char-verification-card .form-group {
    margin-bottom: 2rem;
}

.char-verification-card .form-group input {
    width: 100%;
    padding: 1.4rem 1.8rem;
    font-size: 1.5rem;
    border: 1px solid #dde3ee;
    border-radius: 8px;
    background-color: #f7f9fc;
    transition: all 0.2s ease-in-out;
}

.char-verification-card .form-group input:focus {
    outline: none;
    background-color: #fff;
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.1);
}

.char-verification-card .btn-save {
    width: 100%;
    margin-top: 1.5rem;
    background-color: var(--purple);
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1.4rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.char-verification-card .btn-save:hover {
    background-color: #7A1DD1;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

/* --- Style for Step 3 in Withdraw Form --- */
.bank-confirmation-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f7f9fc;
    border: 1px dashed #dde3ee;
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 3.5rem;
    text-align: center;
}
.bank-confirmation-details img {
    max-height: 50px;
    margin-bottom: 1.5rem;
}
.bank-confirmation-details h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #1a2035;
    margin: 0;
}

/* ============================================= */
/* ========= DYNAMIC PAGE BUILDER STYLES ========= */
/* ============================================= */

.dynamic-page-wrapper {
    
}

 .page-header-dynamic {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 6rem 2rem;
    text-align: center;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
    background-size: 25px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.page-header-dynamic h1 {
    font-size: 4.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.page-header-dynamic .breadcrumb {
    font-size: 1.5rem;
    color: var(--text-muted);
}
.page-header-dynamic .breadcrumb a {
    color: var(--text-light);
    transition: color 0.3s;
}
.page-header-dynamic .breadcrumb a:hover {
    color: var(--purple);
}

 .dynamic-page-wrapper section {
    padding: 10rem 2rem;
    overflow: hidden;  
}
.dynamic-page-wrapper section.bg-light {
    background-color: var(--light-bg);
}
.dynamic-page-wrapper section.bg-dark {
    background-color: #f7f9fc;  
}
.dynamic-page-wrapper h3 {
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
    line-height: 1.3;
}

 .block-hero-dynamic {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    background-size: cover;
    background-position: center;
    position: relative;
}
.block-hero-dynamic .hero-title {
    font-size: 5.6rem;
    color: #fff;
    margin-bottom: 2rem;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}
.block-hero-dynamic .hero-subtitle {
    font-size: 2rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 3.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

 .block-text-image-dynamic .content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}
.block-text-image-dynamic.image-left .image-part { order: -1; }  
.block-text-image-dynamic.image-right .image-part { order: 1; }   

.block-text-image-dynamic .text-part div {
    font-size: 1.7rem;
    line-height: 1.9;
    color: var(--text-muted);
}
.image-part .image-frame {
    background-color: #fff;
    padding: 1.2rem;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(100, 100, 150, 0.12);
    transform: rotate(-2deg);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
}
.image-part .image-frame:hover {
    transform: rotate(1deg) scale(1.03);
    box-shadow: 0 20px 50px rgba(100, 100, 150, 0.2);
}
.image-part .image-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;  
}

 .block-textarea-dynamic .content-narrow {
    max-width: 850px;
    margin: 0 auto;
}
.block-textarea-dynamic h3 {
    text-align: center;
    position: relative;
    padding-bottom: 2rem;
}
.block-textarea-dynamic h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--purple);
    border-radius: 2px;
}
.block-textarea-dynamic .formatted-text {
    font-size: 1.8rem;
    line-height: 2;
    color: #374151;  
}

/* ============================================= */
/* ========= RESPONSIVE STYLES FOR BLOCKS ======== */
/* ============================================= */

@media (max-width: 992px) {
     .dynamic-page-wrapper section { padding: 8rem 2rem; }
    .page-header-dynamic h1 { font-size: 4.2rem; }
    .block-hero-dynamic .hero-title { font-size: 4.8rem; }
    .block-text-image-dynamic .content-grid { gap: 4rem; }
    .dynamic-page-wrapper h3 { font-size: 3rem; }
}

@media (max-width: 768px) {
     .dynamic-page-wrapper section { padding: 6rem 2rem; }
    .page-header-dynamic { padding: 5rem 2rem; }
    .page-header-dynamic h1 { font-size: 3.4rem; }
    
     .block-hero-dynamic { min-height: 50vh; }
    .block-hero-dynamic .hero-title { font-size: 3.6rem; }
    .block-hero-dynamic .hero-subtitle { font-size: 1.7rem; }
    
     .block-text-image-dynamic .content-grid {
        grid-template-columns: 1fr; /* ერთ სვეტში ვალაგებთ */
        gap: 4rem;
    }
     .block-text-image-dynamic.image-left .image-part,
    .block-text-image-dynamic.image-right .image-part {
        order: -1; 
    }
    .image-part .image-frame {
        transform: rotate(0deg); /* ვაუქმებთ დახრას მობილურზე */
    }
    
    /* Textarea ბლოკი მობილურზე */
    .block-textarea-dynamic h3 { font-size: 2.8rem; }
    .block-textarea-dynamic .formatted-text {
        font-size: 1.7rem;
        line-height: 1.8;
    }
}