/* style.css */
/* AetherMint — minimal, ink/paper palette with a single gold accent */
:root {
    /* Core palette */
    --ink: #0B0B0C;
    --ink-raised: #131314;
    --ink-panel: #17171A;
    --paper: #F7F7F5;
    --paper-dim: #C9C9C6;
    --line: #29292C;
    --line-soft: #1E1E21;
    --mist: #8A8A8E;

    /* Change only this one value to re-theme the whole site's accent colour.
       Every tint, hover state, and text-on-accent colour below is derived from it. */
    --accent: #11917b;
    --accent-strong: color-mix(in srgb, var(--accent) 85%, white);
    --accent-ink: color-mix(in srgb, var(--accent) 18%, black);

    --danger: #E5484D;
    --danger-rgb: 229, 72, 77;
    --success: #3ECF8E;
    --success-rgb: 62, 207, 142;
    --warning: #D9A441;
    --info: #6FA8DC;
    --info-rgb: 111, 168, 220;

    /* Semantic aliases used throughout the stylesheet */
    --text-color: var(--paper);
    --subtext1-color: #D6D6D3;
    --subtext0-color: var(--mist);
    --overlay0-color: #5C5C60;
    --overlay1-color: #6E6E72;
    --base-bg: var(--ink);
    --base-bg-rgb: 11, 11, 12;
    --mantle-bg: var(--ink-panel);
    --mantle-bg-rgb: 23, 23, 26;
    --crust-border: var(--line);
    --surface0-color: var(--ink-raised);
    --surface0-color-rgb: 19, 19, 20;
    --surface1-color: #1D1D20;
    --surface2-color: #2B2B2E;

    --primary-accent: var(--accent);
    --primary-accent-rgb: 217, 164, 65; /* unused now — kept only in case script.js reads it directly */
    --danger-accent: var(--danger);
    --danger-accent-rgb: var(--danger-rgb);
    --success-accent: var(--success);
    --success-accent-rgb: var(--success-rgb);
    --warning-accent: var(--warning);
    --info-accent: var(--info);
    --info-accent-rgb: var(--info-rgb);

    --font-display: 'Space Grotesk', 'Helvetica Neue', sans-serif;
    --font-family: 'Inter', 'Helvetica Neue', sans-serif;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-fast: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);

    --shadow-color: rgba(0, 0, 0, 0.4);
    --card-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
    --button-shadow: 0 0 0 rgba(0,0,0,0);
    --input-focus-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);

    /* One shared corner radius for every element on the site — change this to restyle all of them at once */
    --radius: 10px;
    --border-radius-xl: var(--radius);
    --border-radius-lg: var(--radius);
    --border-radius-md: var(--radius);
    --border-radius-sm: var(--radius);

    --acrylic-blur: 0px;
    --acrylic-bg-opacity: 1;
    --acrylic-border-opacity: 1;
}

/* Global Resets & Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--font-family);
    background-color: var(--base-bg);
    color: var(--text-color);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* Background texture — a quiet grid instead of drifting coloured orbs */
.floating-shapes {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden; z-index: -1; pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 90%);
}
.floating-shapes span {
    position: absolute; display: block; border-radius: 50%;
    background: var(--accent); opacity: 0.05; filter: blur(1px);
    animation: drift 46s linear infinite;
}
.floating-shapes span:nth-child(1) { left: 12%; width: 3px; height: 3px; animation-delay: 0s; }
.floating-shapes span:nth-child(2) { left: 28%; width: 2px; height: 2px; animation-delay: 4s; animation-duration: 38s; }
.floating-shapes span:nth-child(3) { left: 44%; width: 3px; height: 3px; animation-delay: 9s; }
.floating-shapes span:nth-child(4) { left: 58%; width: 2px; height: 2px; animation-delay: 2s; animation-duration: 52s; }
.floating-shapes span:nth-child(5) { left: 71%; width: 3px; height: 3px; animation-delay: 14s; }
.floating-shapes span:nth-child(6) { left: 83%; width: 2px; height: 2px; animation-delay: 6s; animation-duration: 40s; }
.floating-shapes span:nth-child(7) { left: 20%; width: 2px; height: 2px; animation-delay: 20s; }
.floating-shapes span:nth-child(8) { left: 65%; width: 2px; height: 2px; animation-delay: 11s; animation-duration: 44s; }
.floating-shapes span:nth-child(9) { left: 37%; width: 2px; height: 2px; animation-delay: 25s; }
.floating-shapes span:nth-child(10) { left: 92%; width: 2px; height: 2px; animation-delay: 17s; animation-duration: 50s; }
@keyframes drift {
    0% { transform: translateY(110vh); opacity: 0; }
    8% { opacity: 0.6; }
    92% { opacity: 0.5; }
    100% { transform: translateY(-10vh); opacity: 0; }
}

/* Container, Header, Nav */
.container { width: 90%; max-width: 1100px; margin: 0 auto; padding: 0 15px; }
header {
    background-color: rgba(11, 11, 12, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 18px 0;
    border-bottom: 1px solid var(--line-soft);
    position: sticky; top: 0; z-index: 1000;
}
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo {
    font-family: var(--font-display);
    font-size: 1.4em; font-weight: 600; letter-spacing: -0.02em;
    color: var(--paper); display: flex; align-items: center; text-decoration: none;
}
.logo img { width: 26px; height: 26px; margin-right: 10px; transition: transform 0.5s var(--ease); }
.logo:hover img { transform: rotate(90deg); }
nav ul { list-style: none; display: flex; align-items: center; }
nav ul li { margin-left: 6px; }
nav ul li a {
    text-decoration: none; color: var(--subtext0-color); font-weight: 500; font-size: 0.93em;
    transition: color 0.3s var(--ease-fast), background-color 0.3s var(--ease-fast);
    padding: 9px 14px; border-radius: var(--border-radius-sm); display: flex; align-items: center; gap: 9px;
    position: relative;
}
nav ul li a i { width: 16px; height: 16px; }
nav ul li a:hover { color: var(--paper); background-color: var(--line-soft); }
nav ul li a.active { color: var(--accent); }
.new-badge {
    background-color: var(--accent); color: var(--accent-ink); font-size: 0.62em;
    padding: 2px 6px; border-radius: var(--radius); margin-left: 7px; font-weight: 700;
}

/* Main Content, Headings, Subtitles */
main { padding: 50px 0; }
.content-section {
    padding: 40px 0;
    margin-bottom: 8px;
}
h1, h2, h3 { font-family: var(--font-display); color: var(--text-color); margin-bottom: 18px; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: 2.6em; text-align: center; line-height: 1.15; }
h2 { font-size: 1.9em; }
h3 { font-size: 1.35em; color: var(--subtext1-color); font-weight: 500; }
.subtitle { color: var(--subtext0-color); margin-bottom: 32px; text-align: center; font-size: 1.08em; max-width: 640px; margin-left: auto; margin-right: auto; }
.content-section .subtitle { text-align: left; }
.highlight { color: var(--accent); font-weight: 600; }

/* Stepper */
.stepper { display: flex; align-items: center; justify-content: center; margin-bottom: 46px; gap: 8px; }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--overlay0-color); transition: color 0.35s var(--ease); padding: 0 10px; }
.step.active { color: var(--accent); }
.step.completed .step-number { background-color: var(--success-accent); color: var(--ink); border-color: var(--success-accent); }
.step.completed .step-label { color: var(--text-color); font-weight: 500; }
.step.active.completed .step-label { color: var(--success-accent); }
.step.active:not(.completed) .step-label { color: var(--accent); }

.step-number {
    width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--overlay0-color);
    display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.95em;
    margin-bottom: 8px; background-color: var(--ink); transition: all 0.35s var(--ease);
}
.step.active .step-number { border-color: var(--accent); background-color: var(--accent); color: var(--accent-ink); }
.step.active.completed .step-number { background-color: var(--success-accent); border-color: var(--success-accent); color: var(--ink); }
.step-label { font-size: 0.88em; font-weight: 500; }
.step-line { height: 1px; flex-grow: 1; max-width: 100px; background-color: var(--line); position: relative; top: -17px; transition: background-color 0.35s var(--ease); }

/* Forms */
.form-step { display: none; animation: fadeInStep 0.4s var(--ease); }
.form-step.active-step { display: block; }
@keyframes fadeInStep { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-bottom: 22px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; margin-bottom: 9px; font-weight: 500; color: var(--subtext1-color); font-size: 0.9em; }
input[type="text"], input[type="number"], input[type="file"], textarea, select {
    width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--border-radius-md);
    background-color: var(--ink); color: var(--text-color); font-size: 0.98em; font-family: var(--font-family);
    transition: border-color 0.25s var(--ease-fast), box-shadow 0.25s var(--ease-fast);
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
}
select {
    background-image: linear-gradient(45deg, transparent 50%, var(--subtext0-color) 50%), linear-gradient(135deg, var(--subtext0-color) 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px);
    background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 40px;
}
input[type="text"]:hover, input[type="number"]:hover, textarea:hover, select:hover { border-color: var(--overlay0-color); }
input[type="text"]:focus, input[type="number"]:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: var(--input-focus-shadow); }
textarea { resize: vertical; min-height: 100px; }
select option { background: var(--ink-panel); color: var(--text-color); padding: 10px 15px; }
select option:checked, select option:hover { background-color: var(--accent); color: var(--accent-ink); }
.image-upload-box {
    border: 1px dashed var(--line); border-radius: var(--border-radius-lg); padding: 25px;
    text-align: center; cursor: pointer; transition: border-color 0.3s var(--ease-fast), background-color 0.3s var(--ease-fast);
    background-color: var(--ink); position: relative; min-height: 170px;
    display: flex; align-items: center; justify-content: center;
}
.image-upload-box:hover { border-color: var(--accent); background-color: var(--ink-raised); }
.upload-area { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; }
.upload-icon { width: 40px; height: 40px; color: var(--accent); margin-bottom: 12px; }
#upload-text { color: var(--subtext0-color); font-size: 0.88em; }
#imagePreview { max-width: 100%; max-height: 130px; border-radius: var(--border-radius-md); margin-top: 10px; object-fit: contain; }

/* Buttons */
.btn {
    padding: 13px 26px; border: 1px solid transparent; border-radius: var(--border-radius-md);
    font-size: 0.95em; font-weight: 600; cursor: pointer;
    transition: background-color 0.25s var(--ease-fast), border-color 0.25s var(--ease-fast), transform 0.4s var(--ease-pop), color 0.25s var(--ease-fast);
    display: inline-flex; align-items: center; justify-content: center; gap: 14px; text-decoration: none;
    font-family: var(--font-family);
}
.btn i { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-3px) scale(1.03); }
.btn:active { transform: translateY(0) scale(1); }
.btn-primary { background-color: var(--accent); color: var(--accent-ink); transition: background-color 0.3s var(--ease), transform 0.3s var(--ease); }
.btn-primary:hover { background-color: var(--accent-strong); }
.btn-secondary { background-color: transparent; color: var(--text-color); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--overlay0-color); background-color: var(--ink-raised); }
.btn-success { background-color: var(--success-accent); color: var(--ink); }
.btn-success:hover { filter: brightness(1.1); }
.btn-danger { background-color: transparent; color: var(--danger-accent); border-color: rgba(var(--danger-accent-rgb), 0.4); }
.btn-danger:hover { background-color: rgba(var(--danger-accent-rgb), 0.1); border-color: var(--danger-accent); }
.form-buttons { display: flex; justify-content: space-between; margin-top: 32px; gap: 15px; }
.btn-sm { padding: 7px 16px; font-size: 0.85em; }
.btn-sm i { margin-right: 5px; width: 14px; height: 14px; }

/* Review Details, Cost Info */
.review-details-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px 20px;
    background-color: transparent; padding: 24px; border-radius: var(--border-radius-lg);
    margin-bottom: 24px; border: 1px solid var(--line);
}
.review-details-grid p { margin-bottom: 8px; font-size: 1em; line-height: 1.5; }
.review-details-grid p strong { color: var(--subtext1-color); font-weight: 600; margin-right: 8px; }
.review-details-grid .full-width { grid-column: 1 / -1; }
.review-image-container { margin-bottom: 10px; }
.review-image-container strong { display: block; margin-bottom: 5px; }
#reviewImage { max-width: 120px; max-height: 120px; border-radius: var(--border-radius-md); margin-top: 0; }
.review-description-container { margin-top: 10px; }
.review-advanced-options-header { font-weight: 600; color: var(--subtext1-color); margin-top: 20px !important; margin-bottom: 10px !important; font-size: 1em !important; grid-column: 1 / -1; }
.cost-info { text-align: center; font-size: 1.1em; margin: 28px 0 24px 0; font-weight: 500; }
.cost-info .highlight { color: var(--accent); font-weight: 700; background-color: color-mix(in srgb, var(--accent) 10%, transparent); padding: 3px 9px; border-radius: var(--border-radius-sm); }

/* Card Style, Empty State */
.card-style {
    background-color: transparent; border: 1px solid var(--line); padding: 28px;
    border-radius: var(--radius); margin-bottom: 28px;
    transition: border-color 0.3s var(--ease);
}
.card-style:hover {
    border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
}
.empty-state {
    text-align: center; color: var(--subtext0-color); padding: 38px;
    border-radius: var(--border-radius-lg); border: 1px dashed var(--line);
    display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.empty-state i { width: 40px; height: 40px; color: var(--overlay0-color); }
.empty-state .spin-icon { animation: spin 1.6s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Trending Coins Specific */
.search-bar-wrapper { display: flex; gap: 15px; margin-bottom: 25px; align-items: center; }
.search-input { flex-grow: 1; }
.trending-coins-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.coin-card {
    display: flex; flex-direction: column; border-radius: var(--radius);
    transition: border-color 0.3s var(--ease), transform 0.4s var(--ease-pop);
}
.coin-card:hover {
    border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
    transform: translateY(-8px) scale(1.015);
}
.coin-header { display: flex; align-items: center; margin-bottom: 16px; gap: 14px; }
.coin-header img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.coin-header h4 { margin-bottom: 3px; font-size: 1.15em; color: var(--text-color); font-weight: 600; }
.tag { background-color: var(--accent); color: var(--accent-ink); padding: 3px 9px; border-radius: var(--radius); font-size: 0.65em; font-weight: 700; margin-left: 8px; text-transform: uppercase; letter-spacing: 0.04em; }
.coin-symbol { font-size: 0.88em; color: var(--subtext0-color); display: flex; align-items: center; gap: 5px; }
.coin-description { font-size: 0.92em; color: var(--subtext1-color); margin-bottom: 16px; flex-grow: 1; line-height: 1.6; }
.coin-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 16px; margin-top: auto; }
.market-cap { font-size: 0.92em; color: var(--subtext1-color); }
.market-cap small { display: block; font-size: 0.8em; color: var(--overlay0-color); margin-top: 4px; }

/* How To Use Section — a plain, divided list rather than boxed cards */
.steps-list { list-style: none; padding-left: 0; margin-bottom: 25px; counter-reset: steps-counter; border-top: 1px solid var(--line-soft); }
.steps-list li {
    counter-increment: steps-counter;
    display: flex; align-items: baseline; gap: 18px;
    padding: 16px 4px; border-bottom: 1px solid var(--line-soft); font-size: 1em;
}
.steps-list li::before {
    content: counter(steps-counter, decimal-leading-zero); flex-shrink: 0;
    font-family: var(--font-display); color: var(--accent); font-size: 0.85em; font-weight: 600; letter-spacing: 0.02em;
}
.info-box { margin-top: 14px; font-size: 0.85em; line-height: 1.6; color: var(--subtext0-color); }
.info-box strong.highlight { color: var(--accent); font-weight: 600; background: none; padding: 0; }

.how-to-step-group + .how-to-step-group { margin-top: 44px; }
.how-to-step-group-title {
    display: flex; align-items: center; gap: 14px;
    font-size: 1.15em; font-weight: 600; color: var(--text-color); margin-bottom: 16px;
}
.how-to-step-group-number {
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--accent);
    font-family: var(--font-display); font-size: 0.9em; font-weight: 700; color: var(--accent);
}

/* FAQ Section */
.faq-item details {
    background-color: transparent; border-radius: var(--radius); margin-bottom: 10px; border: 1px solid var(--line);
    overflow: hidden; transition: border-color 0.3s var(--ease), transform 0.4s var(--ease-pop);
}
.faq-item details:hover {
    border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
    transform: translateY(-4px) scale(1.008);
}
.faq-item details[open] { border-color: var(--overlay0-color); }
.faq-item summary { padding: 18px 22px; font-weight: 600; font-size: 1.02em; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--text-color); transition: background-color 0.2s var(--ease-fast); }
.faq-item summary:hover { background-color: var(--ink-raised); }
.faq-item summary::-webkit-details-marker { display: none; } .faq-item summary::marker { display: none; }
.accordion-icon { transition: transform 0.35s var(--ease); color: var(--accent); }
.faq-item details[open] summary .accordion-icon { transform: rotate(180deg); }
.faq-item p { padding: 0 22px 20px 22px; color: var(--subtext1-color); line-height: 1.7; max-height: 0; opacity: 0; transition: all 0.35s var(--ease); }
.faq-item details[open] p { max-height: 300px; opacity: 1; }

/* Footer */
footer { background-color: transparent; color: var(--subtext0-color); text-align: center; padding: 36px 0; margin-top: 50px; border-top: 1px solid var(--line-soft); }
footer .disclaimer { font-size: 0.88em; margin-top: 10px; color: var(--overlay1-color); max-width: 600px; margin-left: auto; margin-right: auto; }

/* Payment Modal & Custom Confirmation Modal */
.modal { display: none; position: fixed; z-index: 1001; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadeInModalBg 0.3s var(--ease-fast); }
@keyframes fadeInModalBg { from { opacity: 0; } to { opacity: 1; } }
.modal-content {
    background-color: var(--ink-panel); border: 1px solid var(--line); padding: 34px 36px;
    width: 90%; max-width: 540px; border-radius: var(--border-radius-xl); box-shadow: var(--card-shadow);
    position: absolute; top: 50%; left: 50%; max-height: 85vh; overflow-y: auto;
    animation: slideInModal 0.4s var(--ease) forwards; color: var(--text-color);
    display: flex; flex-direction: column; gap: 20px;
}
@keyframes slideInModal {
    from { transform: translate(-50%, -50%) translateY(-18px); opacity: 0; }
    to   { transform: translate(-50%, -50%) translateY(0); opacity: 1; }
}
.modal-content .close-button {
    color: var(--subtext0-color); position: absolute; top: 18px; right: 20px; font-size: 22px; line-height: 1; font-weight: 400;
    width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius);
    transition: color 0.2s var(--ease-fast), background-color 0.2s var(--ease-fast), transform 0.4s var(--ease-pop);
}
.modal-content .close-button:hover, .modal-content .close-button:focus { color: var(--text-color); background-color: var(--ink-raised); text-decoration: none; cursor: pointer; transform: scale(1.12); }
.modal-content h3 { margin: 0; padding-right: 30px; font-size: 1.25em; display: flex; align-items: center; gap: 14px; }
.modal-content h3 i { width: 20px; height: 20px; flex-shrink: 0; }
#paymentModalTitle { color: var(--accent); }
#confirmRemoveLpModalTitle { color: var(--danger-accent); }
#confirmRemoveLpModalTitle i { color: var(--danger-accent) !important; }

#modalInfoText { margin: 0; font-size: 0.98em; line-height: 1.6; color: var(--subtext1-color); }
#modalInfoText .highlight { color: var(--accent); }
#confirmRemoveLpModalMessage { margin: 0; font-size: 1em; line-height: 1.6; color: var(--subtext1-color); }
#confirmRemoveLpModalMessage strong.highlight { color: var(--danger-accent); font-weight: 600; background: none; padding: 0; }

.wallet-address-box {
    background-color: var(--ink); padding: 16px 18px; border-radius: var(--border-radius-md); border: 1px solid var(--line);
    margin: 0; display: flex; flex-wrap: wrap; align-items: center;
}
.wallet-address-box::before {
    content: "Solana address"; display: block; width: 100%; margin-bottom: 9px;
    font-family: var(--font-family); font-size: 0.7em; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.07em; color: var(--subtext0-color);
}
#paymentWalletAddress {
    font-family: 'SF Mono', 'Courier New', Courier, monospace; font-size: 0.78em; letter-spacing: 0.01em;
    white-space: nowrap; overflow-x: auto; margin-right: 10px; flex-grow: 1; min-width: 0; line-height: 1.5; color: var(--subtext1-color);
}
#copyAddressButton {
    background: none; border: 1px solid var(--line); color: var(--accent); cursor: pointer; padding: 8px;
    border-radius: var(--border-radius-sm); transition: background-color 0.2s var(--ease-fast), border-color 0.2s var(--ease-fast), transform 0.4s var(--ease-pop);
    flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
#copyAddressButton:hover { background-color: color-mix(in srgb, var(--accent) 10%, transparent); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: scale(1.1); }
#copyAddressButton i { width: 16px; height: 16px; }
.modal-content .small-text { font-size: 0.85em; line-height: 1.55; color: var(--subtext0-color); margin: 0; }
.modal-actions { display: flex; gap: 12px; margin: 0; }
.modal-actions .btn { flex: 1; }
#paymentStatus { font-size: 0.92em; padding: 12px; border-radius: var(--border-radius-md); text-align: center; font-weight: 500; transition: all 0.3s var(--ease-fast); margin: 0; display: none; }
#paymentStatus.success { background-color: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent-strong); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
#paymentStatus.error { background-color: color-mix(in srgb, var(--danger-accent) 10%, transparent); color: var(--danger-accent); border: 1px solid color-mix(in srgb, var(--danger-accent) 28%, transparent); }
#paymentStatus.processing { background-color: color-mix(in srgb, var(--info-accent) 12%, transparent); color: var(--info-accent); border: 1px solid color-mix(in srgb, var(--info-accent) 30%, transparent); }

/* LANDING PAGE SPECIFIC STYLES */
.hero-section { padding: 90px 0 110px; text-align: center; position: relative; overflow: hidden; }
.hero-section h1 {
    font-size: 3.6em; line-height: 1.08; margin-bottom: 22px; letter-spacing: -0.02em;
    color: var(--paper);
}
.hero-section h1 .highlight { color: var(--accent); }
.hero-section .subtitle { font-size: 1.18em; max-width: 720px; margin-bottom: 38px; }
.hero-buttons { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 26px; }
.hero-buttons .btn { margin: 0; padding: 15px 30px; font-size: 1.05em; }

/* A single quiet orbit of coin marks instead of five bouncing sprites */
.animated-sol-coin {
    position: absolute; width: 40px; height: 40px;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M38.0921 72.1585L20.3861 63.6707C18.0231 62.5461 18.0231 59.0436 20.3861 57.919L38.0921 49.4312C40.455 48.3066 43.2776 49.5584 43.2776 52.2209V69.3688C43.2776 72.0313 40.455 73.2831 38.0921 72.1585Z" fill="%23D9A441"/><path d="M56.7868 50.5692L74.4928 42.0814C76.8557 40.9568 76.8557 37.4543 74.4928 36.3297L56.7868 27.8419C54.4239 26.7173 51.6013 27.9691 51.6013 30.6316V47.7795C51.6013 50.442 54.4239 51.6938 56.7868 50.5692Z" fill="%23D9A441"/><path d="M56.7868 72.1585L74.4928 63.6707C76.8557 62.5461 76.8557 59.0436 74.4928 57.919L56.7868 49.4312C54.4239 48.3066 51.6013 49.5584 51.6013 52.2209V69.3688C51.6013 72.0313 54.4239 73.2831 56.7868 72.1585Z" fill="%23D9A441"/></svg>');
    background-size: contain; background-repeat: no-repeat;
    animation: floatCoin 14s ease-in-out infinite alternate;
    z-index: 0; opacity: 0.12;
}
.sol-coin-1 { top: 15%; left: 10%; width: 48px; height: 48px; }
.sol-coin-2 { top: 70%; left: 20%; width: 30px; height: 30px; animation-delay: 2s; opacity: 0.08; }
.sol-coin-3 { top: 30%; right: 15%; width: 54px; height: 54px; animation-delay: 1s; }
.sol-coin-4 { bottom: 10%; right: 25%; width: 36px; height: 36px; animation-delay: 3s; opacity: 0.08; }
.sol-coin-5 { top: 5%; left: 48%; width: 24px; height: 24px; animation-delay: 0.5s; opacity: 0.06; }
@keyframes floatCoin { 0% { transform: translateY(0px) rotate(0deg); } 100% { transform: translateY(-22px) rotate(8deg); } }
.scroll-down-indicator { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); animation: bounce 2.4s ease-in-out infinite; z-index: 1; }
.scroll-down-indicator i { width: 22px; height: 22px; color: var(--overlay0-color); }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }

.stats-section { padding: 55px 0; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%/2, max(220px, 100%/3)), 1fr));
    gap: 18px;
    text-align: center;
}
@media (min-width: 850px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 550px) { .stats-grid { grid-template-columns: 1fr; } }

.stat-item {
    background-color: color-mix(in srgb, var(--paper) 2%, var(--ink));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 20px;
    transition: border-color 0.3s var(--ease), transform 0.4s var(--ease-pop);
}
.stat-item:hover, .stat-item.fade-in-section:hover {
    border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
    transform: translateY(-8px) scale(1.015);
}
.stat-item i { width: 22px; height: 22px; color: var(--accent); margin-bottom: 14px; display: block; margin-left: auto; margin-right: auto; transition: color 0.4s var(--ease); }
.stat-item:hover i { color: var(--accent-strong); }
.stat-item .stat-number { transition: color 0.4s var(--ease); }
.stat-item:hover .stat-number { color: var(--accent-strong); }
.stat-number { font-family: var(--font-display); font-size: 2.4em; font-weight: 600; color: var(--text-color); margin-bottom: 4px; line-height: 1; }
.stat-label { font-size: 0.92em; color: var(--subtext0-color); }

.features-section { padding: 55px 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.feature-item {
    text-align: left;
    background-color: color-mix(in srgb, var(--paper) 2%, var(--ink));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    transition: border-color 0.3s var(--ease), transform 0.4s var(--ease-pop);
}
.feature-item:hover, .feature-item.fade-in-section:hover {
    border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
    transform: translateY(-8px) scale(1.015);
}
.feature-item i { width: 22px; height: 22px; color: var(--accent); margin-bottom: 18px; display: block; transition: color 0.4s var(--ease); }
.feature-item:hover i { color: var(--accent-strong); }
.feature-item h3 { font-size: 1.2em; margin-bottom: 8px; color: var(--text-color); font-weight: 600; transition: color 0.4s var(--ease); }
.feature-item:hover h3 { color: var(--accent-strong); }
.feature-item p { font-size: 0.93em; color: var(--subtext1-color); }
.cta-section { padding: 60px 0; text-align: center; border-top: 1px solid var(--line-soft); }
.cta-section h2 { font-size: 2.2em; margin-bottom: 18px; }
.cta-section p { font-size: 1.1em; color: var(--subtext0-color); max-width: 580px; margin: 0 auto 28px auto; }

/* Fade-in Animations — one calm entrance, not a bounce per section */
.fade-in-section { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.fade-in-section.is-visible { opacity: 1; transform: translateY(0); }

/* Trending Coins Page — flat panel, matches the rest */
#trending-coins .coin-card,
#trending-coins .search-bar-wrapper.card-style {
    background-color: transparent;
    border: 1px solid var(--line);
}

/* Advanced Minting Options Styling */
.option-cost { font-size: 0.88em; font-weight: 500; color: var(--accent); background-color: color-mix(in srgb, var(--accent) 10%, transparent); padding: 4px 9px; border-radius: var(--border-radius-sm); }

/* Revoke Options Grid Styling */
.revoke-options-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; margin-bottom: 25px; }
.revoke-option-card {
    background-color: transparent; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px; display: flex; flex-direction: column; cursor: pointer;
    transition: border-color 0.3s var(--ease), transform 0.4s var(--ease-pop);
}
.revoke-option-card:hover {
    border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
    transform: translateY(-7px) scale(1.015);
}
.revoke-option-card[data-selected="true"] { border-color: var(--accent); }
.revoke-option-card h4 { font-size: 1.08em; color: var(--text-color); margin-bottom: 8px; font-weight: 600; }
.revoke-option-card p { font-size: 0.88em; color: var(--subtext1-color); flex-grow: 1; margin-bottom: 15px; line-height: 1.5; }

.revoke-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.revoke-select-btn { padding: 7px 16px; font-size: 0.88em; }
.revoke-option-card[data-selected="false"] .revoke-select-btn { background-color: transparent; color: var(--subtext0-color); border-color: var(--line); }
.revoke-option-card[data-selected="false"] .revoke-select-btn:hover { border-color: var(--overlay0-color); }

/* Review details for advanced options */
#reviewDetails p > i { margin-right: 7px; vertical-align: text-bottom; width: 1em; height: 1em; color: var(--subtext0-color); }

/* User Liquidity Pools List */
.pools-list.card-style { padding: 8px 20px; min-height: 100px; }
.liquidity-pool-item {
    padding: 18px 0; border-bottom: 1px solid var(--line-soft);
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
        "image   name    remove"
        "image   amounts remove"
        "image   date    remove"
        "address address address";
    column-gap: 16px;
    row-gap: 3px;
    align-items: center;
}
.liquidity-pool-item:last-child { border-bottom: none; }
.lp-token-image { grid-area: image; align-self: start; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); background-color: var(--ink-raised); }
.lp-token-name { grid-area: name; font-size: 1.05em; font-weight: 600; color: var(--accent); margin-bottom: 0; align-self: end; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-token-name span { font-weight: 500; color: var(--text-color); }
.lp-amounts { grid-area: amounts; font-size: 0.88em; color: var(--subtext1-color); margin-bottom: 0; }
.lp-amounts strong { color: var(--text-color); font-weight: 500; }
.lp-creation-date { grid-area: date; font-size: 0.78em; color: var(--subtext0-color); margin-top: 0; align-self: start; }
.lp-remove-button { grid-area: remove; justify-self: end; align-self: center; }

.lp-solana-address {
    grid-area: address;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line-soft);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.88em;
    color: var(--subtext1-color);
}
.lp-solana-address .address-value {
    font-family: 'SF Mono', 'Courier New', Courier, monospace;
    font-size: 0.92em;
    color: var(--subtext1-color);
    word-break: break-all;
}
.copy-lp-address-btn {
    background: none; border: 1px solid var(--line); border-radius: var(--border-radius-sm);
    padding: 6px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
    transition: background-color 0.2s var(--ease-fast), border-color 0.2s var(--ease-fast);
    flex-shrink: 0;
}
.copy-lp-address-btn:hover {
    background-color: color-mix(in srgb, var(--accent) 10%, transparent);
    border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}
.copy-lp-address-btn i,
.copy-lp-address-btn svg {
    color: var(--accent);
    width: 15px; height: 15px;
}

.stat-item, .feature-item, .coin-card, .revoke-option-card, .faq-item details, .btn { will-change: transform; }

/* Responsive Styles */
@media (max-width: 992px) {
    .trending-coins-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    .revoke-options-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
}
@media (max-width: 768px) {
    header .container { flex-direction: column; gap: 14px; }
    nav ul { justify-content: center; flex-wrap: wrap; gap: 4px; }
    nav ul li { margin: 4px 4px; }
    h1 { font-size: 2em; }
    .hero-section h1 { font-size: 2.3em; }
    h2 { font-size: 1.6em; }
    .form-grid { grid-template-columns: 1fr; }
    .stepper { flex-wrap: wrap; justify-content: flex-start; }
    .step-line { display: none !important; }
    .step { flex-direction: row; align-items: center; width: auto; margin-bottom: 10px; padding: 0 5px; }
    .step-number { margin-right: 10px; margin-bottom: 0; width: 32px; height: 32px; }
    .review-details-grid { grid-template-columns: 1fr; }
    .modal-content { width: 95%; max-height: 90vh; padding: 24px; }
    .form-buttons { flex-direction: column; gap: 15px; }
    .form-buttons .btn { width: 100%; }
    .animated-sol-coin { width: 26px; height: 26px; }
    .sol-coin-1 { width: 34px; height: 34px; }
    .sol-coin-3 { width: 40px; height: 40px; }
    .liquidity-pool-item {
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "image   name"
            "image   amounts"
            "image   date"
            "remove  remove"
            "address address";
    }
    .lp-remove-button { justify-self: start; margin-top: 10px; }
}