@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-0: #030810;
    --bg-1: #091427;
    --bg-2: #10244a;
    --accent: #2fc8ff;
    --accent-strong: #009dff;
    --accent-soft: rgba(47, 200, 255, 0.2);
    --accent-alt: #8afec1;
    --text: #f5f7ff;
    --text-muted: rgba(229, 233, 255, 0.7);
    --panel: rgba(9, 14, 30, 0.7);
    --panel-strong: rgba(16, 22, 44, 0.9);
    --border: rgba(47, 200, 255, 0.24);
    --border-soft: rgba(47, 200, 255, 0.16);
    --border-strong: rgba(47, 200, 255, 0.42);
    --shadow: 0 20px 60px rgba(5, 7, 15, 0.6);
    --radius-card: 20px;
    --radius-lg: 28px;
    --radius-md: 14px;
    --radius-sm: 12px;
    --radius-pill: 999px;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-0);
    overscroll-behavior-y: none;
}

body {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    color: var(--text);
    font-size: 16px;
    overflow-x: hidden;
    background-color: var(--bg-0);
    overscroll-behavior-y: none;
    --cursor-x: 50%;
    --cursor-y: 50%;
}

body {
    transition: opacity 260ms ease, transform 320ms ease;
}

html.js body {
    opacity: 0;
    transform: translateY(8px);
}

html.js body.is-ready {
    opacity: 1;
    transform: none;
}

html.js body.is-leaving {
    opacity: 0;
    transform: translateY(-6px);
}

.page-transition-layer {
    position: fixed;
    inset: 0;
    background: rgba(5, 7, 15, 0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 20000;
    transition: opacity 320ms ease, visibility 0ms linear 320ms;
}

.page-transition-layer.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 320ms ease;
}

.page-transition-layer.is-reveal {
    opacity: 0;
    visibility: hidden;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.btn {
    appearance: none;
    border: none;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    padding: 12px 22px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
    box-shadow: 0 12px 28px rgba(0, 157, 255, 0.28);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(0, 157, 255, 0.35);
    filter: brightness(1.03);
}

.btn:active {
    transform: translateY(0);
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(47, 200, 255, 0.22), 0 16px 36px rgba(0, 157, 255, 0.35);
}

.btn:disabled,
.btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    filter: none;
}

.wrapper {
    background: radial-gradient(circle at 14% 4%, rgba(0, 188, 255, 0.34), transparent 36%),
        radial-gradient(circle at 90% 8%, rgba(0, 157, 255, 0.24), transparent 40%),
        radial-gradient(circle at 50% 98%, rgba(0, 107, 255, 0.28), transparent 52%),
        linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 45%, var(--bg-2) 100%);
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: var(--nft-progress, 0);
    background: radial-gradient(circle at 50% 26%, rgba(0, 204, 255, 0.24), transparent 44%),
        radial-gradient(circle at 42% 74%, rgba(0, 170, 255, 0.26), transparent 54%),
        linear-gradient(180deg, rgba(5, 22, 52, 0) 0%, rgba(16, 52, 112, 0.26) 62%, rgba(26, 79, 168, 0.32) 100%);
    transition: opacity 240ms ease;
}

.wrapper > * {
    position: relative;
    z-index: 1;
}

.ambient-scene {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.ambient-scene::before,
.ambient-scene::after {
    content: "";
    position: absolute;
    inset: -12%;
}

.ambient-logo {
    position: absolute;
    width: var(--logo-size, clamp(132px, 15vw, 230px));
    aspect-ratio: 1 / 1;
    left: var(--logo-left, auto);
    top: var(--logo-top, auto);
    right: var(--logo-right, auto);
    bottom: var(--logo-bottom, auto);
    opacity: var(--logo-opacity, 0.16);
    background: radial-gradient(circle at 34% 34%, rgba(47, 200, 255, 0.36), rgba(14, 48, 108, 0.18) 62%, rgba(10, 26, 62, 0.04) 100%);
    border-radius: 50%;
    border: 1px solid rgba(47, 200, 255, 0.14);
    pointer-events: none;
    filter: drop-shadow(0 8px 20px rgba(3, 12, 28, 0.3));
    animation: ambient-logo-float var(--logo-speed, 36s) ease-in-out infinite;
}

.ambient-logo::after {
    content: "";
    position: absolute;
    inset: 10%;
    background: url("../img/LoDi-Open.png") center / contain no-repeat;
    opacity: 0.78;
}

.ambient-scene::before {
    background-image:
        linear-gradient(rgba(173, 224, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(173, 224, 255, 0.08) 1px, transparent 1px);
    background-size: 90px 90px;
    mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 78%);
    opacity: 0.26;
    animation: ambient-grid-float 26s linear infinite;
}

.ambient-scene::after {
    background: radial-gradient(460px circle at var(--cursor-x) var(--cursor-y), rgba(138, 254, 193, 0.2), transparent 68%);
    transition: background-position 220ms ease;
}

.ambient-shape {
    position: absolute;
    border-radius: 43% 57% 63% 37% / 50% 37% 63% 50%;
    filter: blur(0.4px);
    opacity: 0.34;
    animation: ambient-orbit var(--shape-speed, 24s) ease-in-out infinite,
        ambient-pulse calc(var(--shape-speed, 24s) * 0.7) ease-in-out infinite;
}

.ambient-shape.shape-1 {
    --shape-speed: 24s;
    width: clamp(210px, 24vw, 420px);
    height: clamp(210px, 24vw, 420px);
    left: -7vw;
    top: -8vh;
    background: radial-gradient(circle at 38% 34%, rgba(47, 200, 255, 0.58), rgba(19, 58, 152, 0.12));
}

.ambient-shape.shape-2 {
    --shape-speed: 19s;
    width: clamp(170px, 18vw, 290px);
    height: clamp(170px, 18vw, 290px);
    right: 7vw;
    top: 14vh;
    background: radial-gradient(circle at 30% 30%, rgba(138, 254, 193, 0.52), rgba(3, 50, 74, 0.1));
}

.ambient-shape.shape-3 {
    --shape-speed: 28s;
    width: clamp(180px, 20vw, 320px);
    height: clamp(180px, 20vw, 320px);
    right: -4vw;
    bottom: 8vh;
    background: radial-gradient(circle at 30% 22%, rgba(47, 200, 255, 0.45), rgba(4, 26, 52, 0.15));
}

.ambient-shape.shape-4 {
    --shape-speed: 21s;
    width: clamp(120px, 14vw, 220px);
    height: clamp(120px, 14vw, 220px);
    left: 22vw;
    bottom: 6vh;
    background: radial-gradient(circle at 50% 50%, rgba(255, 190, 128, 0.28), rgba(21, 17, 43, 0.08));
}

@keyframes ambient-orbit {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(0, -24px, 0) rotate(14deg);
    }
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
}

@keyframes ambient-pulse {
    0%, 100% {
        opacity: 0.24;
    }
    50% {
        opacity: 0.42;
    }
}

@keyframes ambient-grid-float {
    0% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(-18px, 16px, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes ambient-logo-float {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(0, -16px, 0) rotate(7deg);
    }
}

.container {
    width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Фиксированная панель навигации по центру */
.site-header {
    position: fixed;
    top: 11px;
    left: 0;
    right: 0;
    z-index: 9000;
    pointer-events: none;
}

.site-header .site-header-inner {
    width: min(1320px, calc(100vw - 32px));
    min-height: 62px;
    margin: 0 auto;
    padding: 8px 14px;
    border-radius: 22px;
    border: 1px solid transparent;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    pointer-events: auto;
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), min-height 280ms ease, background 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
    animation: nav-enter 540ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header .site-header-inner::before {
    display: none;
}

@keyframes nav-enter {
    from {
        opacity: 0;
        transform: translateY(-16px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.site-header.scrolled .site-header-inner {
    min-height: 56px;
    transform: translateY(-4px) scale(0.988);
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.site-header.scrolled .site-header-inner::before {
    display: none;
}

.site-header .logo {
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 1.4px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 10px 4px;
    border-radius: var(--radius-pill);
    background: transparent;
    border: none;
    text-shadow: 0 6px 16px rgba(12, 18, 38, 0.52);
    transition: transform 220ms ease, color 220ms ease, text-shadow 220ms ease;
    position: relative;
    z-index: 3;
}

.site-header .logo:hover {
    transform: none;
    box-shadow: none;
    text-shadow: 0 6px 16px rgba(0, 157, 255, 0.42);
}

.site-header.scrolled .logo {
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.site-header.scrolled .logo:hover {
    background: transparent;
    border: none;
}

.site-header .site-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.site-header .site-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 3px;
    border-radius: var(--radius-pill);
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
    transition: gap 240ms ease;
}

.site-header.scrolled .site-nav ul {
    padding: 3px;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.site-header.scrolled .site-nav ul {
    gap: 6px;
}

.site-header .site-nav ul li {
    display: flex;
    align-items: center;
}

.site-header .site-nav ul li a {
    color: var(--text-muted);
    font-family: "Manrope", "Poppins", sans-serif;
    font-weight: 700;
    font-size: 13px;
    padding: 11px 22px;
    letter-spacing: 0.25px;
    border-radius: var(--radius-pill);
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header .site-nav ul li a:hover {
    background: transparent;
    color: var(--text);
    transform: none;
    box-shadow: 0 0 14px rgba(47, 200, 255, 0.28);
}

.site-header .site-nav ul li.active::after {
    display: none;
}

.site-header .site-nav ul li.active a {
    color: var(--text);
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
}

.site-header.scrolled .site-nav ul li a {
    background: rgba(8, 16, 40, 0.2);
    border-color: rgba(47, 200, 255, 0.46);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.site-header.scrolled .site-nav ul li a:hover {
    background: rgba(10, 20, 48, 0.28);
    border-color: rgba(47, 200, 255, 0.62);
}

.site-header .header-right,
.site-header .header-actions {
    pointer-events: auto;
}

.site-header .header-right {
    margin-left: auto;
    position: relative;
    z-index: 3;
}

/* Hero секция */
.hero {
    padding: 146px 0 120px;
    position: relative;
    z-index: 1;
    min-height: 82vh;
    display: flex;
    align-items: center;
}

/* Контейнер для hero контента */
.hero .container {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    justify-content: space-between;
    position: relative;
    min-height: 500px;
    gap: clamp(24px, 4vw, 60px);
}

/* Информационная часть hero */
.hero--info {
    width: 100%;
    max-width: 540px;
    padding-top: 0;
    position: relative;
    z-index: 2;
    margin-left: 0;
}

.hero--info .marketplace-toggle {
    appearance: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(47, 200, 255, 0.12);
    border: 1px solid rgba(47, 200, 255, 0.3);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-family: inherit;
    cursor: pointer;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hero--info .marketplace-toggle:hover {
    color: var(--text);
    border-color: rgba(47, 200, 255, 0.48);
    background: rgba(47, 200, 255, 0.2);
}

.hero--info .marketplace-toggle[aria-expanded="true"] {
    color: var(--text);
    border-color: rgba(47, 200, 255, 0.56);
    background: rgba(47, 200, 255, 0.24);
}

.hero--info .university-list-panel {
    width: min(520px, 100%);
    min-height: 120px;
    margin: -6px 0 20px;
    border-radius: var(--radius-md);
    border: 1px dashed rgba(47, 200, 255, 0.36);
    background: rgba(7, 16, 34, 0.52);
    box-shadow: inset 0 0 0 1px rgba(47, 200, 255, 0.08);
}

.hero--info h1 {
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    background: linear-gradient(120deg, #ffffff 0%, #ccd5ff 45%, #98a8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero--info p {
    font-weight: 400;
    line-height: 1.7;
    margin: 20px 0 30px;
    color: var(--text-muted);
    font-size: 16px;
    max-width: 520px;
}

.hero--info .btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    border-radius: 50px;
    padding: 14px 30px;
    border: 0;
    transition: all 300ms ease;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-block;
    box-shadow: 0 12px 30px rgba(0, 157, 255, 0.35);
}

.hero--info .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 600ms ease;
    z-index: -1;
}

.hero--info .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0, 157, 255, 0.45);
}

.hero--info .btn:hover::before {
    left: 100%;
}

/* Картинка в hero */
.hero img {
    position: relative;
    top: 0;
    right: 0;
    width: min(100%, 540px);
    max-width: 100%;
    height: auto;
    justify-self: end;
    filter: drop-shadow(0 20px 50px rgba(5, 7, 15, 0.6));
    animation: float 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Trending секция */
.trending {
    padding: 120px 0 100px;
    position: relative;
    z-index: 1;
    scroll-margin-top: 112px;
}

.trending-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.trending h3 {
    font-weight: 600;
    font-size: 36px;
    margin-bottom: 16px;
    text-align: left;
    background: linear-gradient(120deg, #ffffff 0%, #9fdcff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.trending h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    transform: none;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), transparent);
    border-radius: 999px;
}

.trending .see-all {
    color: var(--text);
    background: rgba(47, 200, 255, 0.12);
    border-radius: var(--radius-pill);
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 300ms ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
    border: 1px solid var(--border-strong);
}

.trending .see-all:hover {
    background: rgba(47, 200, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 157, 255, 0.2);
}

.gifts {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    clear: both;
}

.gifts .block {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(160deg, rgba(14, 21, 44, 0.85), rgba(12, 18, 36, 0.95));
    border-radius: var(--radius-lg);
    padding: 28px 28px 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: all 300ms ease;
    max-width: 500px;
    width: 100%;
    cursor: pointer;
}

.gifts .block:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(5, 7, 15, 0.65);
    border-color: rgba(47, 200, 255, 0.35);
}

.gifts .block::before {
    display: none;
}

.gifts .image-container {
    position: relative;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(47, 200, 255, 0.08);
    border-radius: calc(var(--radius-lg) - 6px);
    border: 1px solid var(--border-soft);
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
}

.gifts .image-container::before {
    content: "";
    position: absolute;
    inset: 14%;
    background: url("../img/reulogo.png") center / contain no-repeat;
    opacity: 0.085;
    pointer-events: none;
}

.gifts .block img.main-image {
    max-width: 100%;
    border-radius: 18px;
    display: block;
    transition: all 300ms ease;
    filter: drop-shadow(0 12px 25px rgba(5, 7, 15, 0.55));
    cursor: pointer;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.gifts .block:hover img.main-image {
    transform: scale(1.04);
}

.gifts .info-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.gifts .holders {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    background: rgba(47, 200, 255, 0.12);
    padding: 16px;
    border-radius: var(--radius-md);
    transition: all 200ms ease;
    border: 1px solid var(--border-soft);
}

.gifts .holders:hover {
    background: rgba(47, 200, 255, 0.2);
    border-color: rgba(47, 200, 255, 0.35);
    transform: translateY(-1px);
}

.gifts .buy-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 300ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 14px 35px rgba(0, 157, 255, 0.35);
}

.gifts .buy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 700ms ease;
    z-index: -1;
}

.gifts .buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 45px rgba(0, 157, 255, 0.45);
}

.gifts .buy-btn:hover::before {
    left: 100%;
}

.gifts .buy-btn img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
    transition: transform 500ms ease;
}

.gifts .buy-btn:hover img {
    transform: rotate(15deg) scale(1.1);
}

.gifts .corner-decoration {
    display: none;
}

.gifts .corner-tl {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
    border-radius: 12px 0 0 0;
}

.gifts .corner-tr {
    top: 20px;
    right: 20px;
    border-left: none;
    border-bottom: none;
    border-radius: 0 12px 0 0;
}

.gifts .corner-bl {
    bottom: 20px;
    left: 20px;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 12px;
}

.gifts .corner-br {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 12px 0;
}

/* Стили для всплывающих сообщений */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 7, 15, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 500ms ease;
    backdrop-filter: blur(14px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Модальное окно для NFT деталей (большое) */
.nft-details-modal .modal {
    background: linear-gradient(160deg, rgba(16, 22, 44, 0.95), rgba(8, 12, 24, 0.98));
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 900px;
    width: 90%;
    text-align: left;
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow);
    transform: translateY(40px) scale(0.95);
    opacity: 0;
    transition: all 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
    overflow: hidden;
}

.nft-details-modal .modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.nft-details-modal.active .modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.nft-details-modal .modal-content {
    display: flex;
    gap: 40px;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 5px;
}

.nft-details-modal .nft-image-section {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nft-details-modal .nft-image-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--border-strong);
    box-shadow: 0 18px 40px rgba(5, 7, 15, 0.55);
}

.nft-details-modal .nft-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.nft-details-modal .nft-info {
    background: rgba(47, 200, 255, 0.1);
    border-radius: calc(var(--radius-card) - 2px);
    padding: 20px;
    border: 1px solid var(--border-soft);
}

.nft-details-modal .info-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nft-details-modal .info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.nft-details-modal .info-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 5px;
    font-weight: 500;
}

.nft-details-modal .info-value {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.nft-details-modal .price-value {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 61, 0.5);
}

.nft-details-modal .price-value span {
    background: linear-gradient(90deg, #fdd36a, #ffe8a3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 32px;
}

/* Описание с маленькой картинкой Plush Pepe слева */
.nft-details-modal .nft-description-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.nft-details-modal .nft-description-section h3 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 600;
    background: linear-gradient(120deg, #87d6ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nft-details-modal .description-content {
    background: rgba(47, 200, 255, 0.08);
    border-radius: calc(var(--radius-card) - 2px);
    padding: 25px;
    border: 1px solid var(--border-soft);
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: left;
    position: relative;
    min-height: 200px;
}

.nft-details-modal .description-content p {
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    padding-left: 0;
    position: relative;
    width: 100%;
}

.nft-details-modal .description-content a {
    color: #8fd8ff;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    background-color: transparent;
    border-radius: 4px;
    -webkit-text-fill-color: currentColor;
    -webkit-tap-highlight-color: rgba(143, 216, 255, 0.18);
}

.nft-details-modal .description-content a:hover,
.nft-details-modal .description-content a:focus-visible {
    color: #c5ecff;
    outline: none;
}

.nft-details-modal .description-tee-image {
    width: min(100%, 560px);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin: 0 auto;
    border: 1px solid var(--border-strong);
    box-shadow: 0 10px 25px rgba(5, 7, 15, 0.4);
    background: #fff;
    display: grid;
    place-items: center;
    padding: 12px;
    cursor: zoom-in;
    transition: transform 250ms ease, box-shadow 250ms ease;
    outline: none;
}

.nft-details-modal .description-tee-image:hover,
.nft-details-modal .description-tee-image:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(5, 7, 15, 0.45);
}

.nft-details-modal .description-tee-image img {
    width: 100%;
    max-width: 100%;
    max-height: 360px;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    object-position: center top;
}

.nft-details-modal .mobile-panel-nav {
    display: none;
}

.image-viewer-modal .image-viewer {
    max-width: 980px;
    width: min(96vw, 980px);
    padding: 22px 22px 16px;
    text-align: left;
}

.image-viewer-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 14px;
    padding-right: 46px;
}

.image-viewer-btn {
    border: 1px solid var(--border-strong);
    background: rgba(47, 200, 255, 0.15);
    color: #fff;
    min-width: 44px;
    height: 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 220ms ease;
}

.image-viewer-btn:hover {
    background: rgba(47, 200, 255, 0.32);
    transform: translateY(-1px);
}

.image-viewer-stage {
    width: 100%;
    height: min(72vh, 700px);
    border-radius: 16px;
    border: 1px solid var(--border-soft);
    background: radial-gradient(circle at 50% 20%, #f2f2f2 0%, #d5d5d5 100%);
    overflow: hidden;
    position: relative;
    cursor: grab;
    user-select: none;
}

.image-viewer-stage:active {
    cursor: grabbing;
}

#tee-image-zoomable {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center center;
    max-width: none;
    width: min(100%, 920px);
    height: auto;
    will-change: transform;
    user-select: none;
    -webkit-user-drag: none;
}

.image-viewer-hint {
    margin-top: 12px;
    margin-bottom: 2px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

.modal .modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: transparent;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: rotate(0deg);
    transition: transform 260ms ease, box-shadow 220ms ease, background-color 220ms ease;
    z-index: 10;
}

.modal .modal-close::before,
.modal .modal-close::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 3px;
    border-radius: 999px;
    background: #4785ec;
}

.modal .modal-close::before {
    transform: rotate(45deg);
}

.modal .modal-close::after {
    transform: rotate(-45deg);
}

.modal .modal-close:hover {
    background: transparent;
    transform: translateY(-1px) rotate(12deg);
    box-shadow: none;
}

.modal .modal-close:focus-visible {
    outline: 2px solid rgba(71, 133, 236, 0.7);
    outline-offset: 2px;
}

.nft-details-modal .modal-close {
    top: 20px;
    right: 20px;
}

.nft-details-modal .modal-close:hover {
    background: #ffffff;
    transform: translateY(-1px);
}

/* Стандартные модальные окна */
.modal {
    background: linear-gradient(160deg, rgba(16, 22, 44, 0.95), rgba(8, 12, 24, 0.98));
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow);
    transform: translateY(40px) scale(0.95);
    opacity: 0;
    transition: all 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal h3 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 600;
    background: linear-gradient(120deg, #87d6ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Модальное окно для "Все NFT" */
.modal p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 16px;
}

/* Модальное окно для покупки NFT */
.modal .nft-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    border-radius: calc(var(--radius-card) - 2px);
    overflow: hidden;
    border: 1px solid var(--border-strong);
    box-shadow: 0 18px 40px rgba(5, 7, 15, 0.5);
}

.modal .nft-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal .price-info {
    background: rgba(47, 200, 255, 0.1);
    border-radius: calc(var(--radius-card) - 2px);
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid var(--border-soft);
}

.modal .price-label {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 500;
}

.modal .price-value {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 61, 0.5);
    letter-spacing: 2px;
}

.modal .price-value span {
    background: linear-gradient(90deg, #fdd36a, #ffe8a3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 36px;
}

.modal .modal-text {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 35px;
    font-size: 16px;
    padding: 0 10px;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.modal-close-btn {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: var(--radius-pill);
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 200ms ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex: 1;
    max-width: 200px;
    border: 1px solid var(--border-soft);
}

.modal-close-btn:hover {
    background: rgba(47, 200, 255, 0.18);
    transform: translateY(-1px);
}

.modal-buy-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 200ms ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex: 1;
    max-width: 200px;
    opacity: 0.5;
    cursor: not-allowed;
}

.modal-buy-btn:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    transform: none;
    cursor: not-allowed;
}

.modal .status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #ff4444;
    border-radius: 50%;
    margin-right: 8px;
    animation: status-pulse 1.5s infinite;
}

@keyframes status-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.985);
    filter: blur(5px);
    transition: opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 760ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 760ms ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.interactive-window {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.interactive-window::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: radial-gradient(320px circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(47, 200, 255, 0.2), transparent 62%);
    opacity: 0;
    transition: opacity 260ms ease;
    z-index: 0;
}

.window-shape {
    position: absolute;
    width: var(--shape-size, clamp(72px, 9vw, 140px));
    aspect-ratio: 1 / 1;
    left: var(--shape-left, auto);
    top: var(--shape-top, auto);
    right: var(--shape-right, -34px);
    bottom: var(--shape-bottom, -34px);
    border-radius: 0;
    background: url("../img/LoDi-Open.png") center / contain no-repeat;
    opacity: var(--shape-opacity, 0.14);
    pointer-events: none;
    z-index: 0;
    animation: window-shape-drift var(--shape-speed, 11s) ease-in-out infinite;
}

.window-shape.window-shape--dynamic {
    animation: none;
}

.interactive-window > :not(.window-shape) {
    position: relative;
    z-index: 1;
}

.interactive-window.is-tilting::after,
.interactive-window:hover::after {
    opacity: 1;
}

.magnetic {
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

@keyframes window-shape-drift {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(-5px, -8px, 0) rotate(7deg);
    }
}

/* Стили для нижнего текста */
.footer-note {
    text-align: center;
    padding: 30px 0 40px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    border-top: 1px solid var(--border-soft);
    margin-top: 60px;
    position: relative;
}

.footer-note::before {
    content: '⚠️';
    display: block;
    font-size: 24px;
    margin-bottom: 10px;
    opacity: 0.7;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.footer-note strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 1400px) {
    .container {
        width: 100%;
        max-width: 1200px;
    }
    
    .hero img {
        max-width: 500px;
    }
}

@media (max-width: 1200px) {
    .hero--info {
        width: 480px;
        margin-left: 0;
    }
    
    .nft-details-modal .modal {
        max-width: 800px;
    }
    
    .nft-details-modal .modal-content {
        gap: 30px;
    }
    
    .nft-details-modal .nft-image-section {
        flex: 0 0 250px;
    }
}

@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
        justify-items: center;
    }
    
    .hero--info {
        width: 100%;
        padding-top: 0;
        margin-bottom: 40px;
        margin-left: 0;
        text-align: center;
    }
    
    .hero--info p {
        margin: 20px auto 30px;
    }
    
    .hero img {
        max-width: 400px;
        justify-self: center;
    }
    
    .site-header {
        top: 10px;
    }

    .site-header .site-header-inner {
        width: calc(100vw - 24px);
        min-height: auto;
        padding: 10px 12px 12px;
        border-radius: 24px;
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .site-header .site-nav {
        position: static;
        transform: none;
        order: 3;
        width: 100%;
    }

    .site-header .site-nav ul {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        padding: 5px;
        gap: 8px;
    }

    .site-header .site-nav ul::-webkit-scrollbar {
        display: none;
    }

    .trending-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .trending .see-all {
        margin-bottom: 20px;
        align-self: flex-start;
    }
    
    .nft-details-modal .modal {
        max-width: 700px;
        padding: 30px;
    }
    
    .nft-details-modal .modal-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .nft-details-modal .nft-image-section {
        flex: none;
        width: 100%;
    }
    
    .nft-details-modal .description-content p {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .site-header {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        pointer-events: auto;
        padding: 8px 10px 0;
    }

    .site-header .site-header-inner {
        width: 100%;
        padding: 8px 8px 10px;
        display: flex;
        flex-direction: column;
        row-gap: 8px;
    }

    .site-header .logo {
        order: 2;
        align-self: center;
        font-size: 17px;
        letter-spacing: 1.1px;
        padding: 4px 8px;
    }

    .site-header .site-nav {
        order: 1;
        width: 100%;
    }

    .site-header .site-nav ul {
        justify-content: center;
        gap: 8px;
        padding: 4px 0;
        overflow-x: auto;
    }

    .site-header .site-nav ul li a {
        min-height: 44px;
        padding: 10px 16px;
        font-size: 12px;
        font-weight: 700;
    }

    .site-header.scrolled .site-nav ul li a {
        background: transparent;
        border-color: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .site-header .header-right {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .image-viewer-modal .image-viewer {
        width: calc(100vw - 18px);
        padding: 16px 12px 12px;
    }

    .image-viewer-toolbar {
        padding-right: 44px;
        gap: 8px;
    }

    .image-viewer-btn {
        min-width: 40px;
        height: 36px;
        border-radius: 10px;
        font-size: 16px;
    }

    .image-viewer-stage {
        height: min(64vh, 520px);
    }

    .hero {
        padding: 42px 0 70px;
    }
    
    .hero--info h1 {
        font-size: 36px;
    }
    
    .hero--info .marketplace-toggle {
        font-size: 20px;
    }
    
    .hero img {
        max-width: 320px;
    }
    
    .trending {
        padding: 80px 0 60px;
    }
    
    .trending h3 {
        font-size: 28px;
    }
    
    .gifts .block {
        padding: 25px;
    }
    
    .nft-details-modal .modal {
        padding: 25px 20px;
        max-width: 95%;
        overflow: hidden;
    }

    .nft-details-modal .modal-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 18px;
        padding-right: 0;
        overflow-y: auto;
        overflow-x: hidden;
        transform: none;
    }

    .nft-details-modal .nft-image-section,
    .nft-details-modal .nft-description-section {
        width: 100%;
        max-width: 100%;
        flex: none;
        padding-right: 0;
    }

    .nft-details-modal.mobile-show-description .modal-content {
        transform: none;
    }

    .nft-details-modal .mobile-panel-nav {
        display: none;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        border: none;
        border-radius: 999px;
        background: rgba(71, 133, 236, 0.18);
        color: #89b1ff;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        font-weight: 700;
        z-index: 11;
        cursor: pointer;
        transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
    }

    .nft-details-modal .mobile-panel-nav:hover {
        background: rgba(71, 133, 236, 0.28);
        color: #b8d0ff;
    }

    .nft-details-modal .mobile-panel-next {
        right: 14px;
    }

    .nft-details-modal .mobile-panel-prev {
        left: 14px;
        opacity: 0;
        pointer-events: none;
    }

    .nft-details-modal.mobile-show-description .mobile-panel-next {
        opacity: 0;
        pointer-events: none;
    }

    .nft-details-modal.mobile-show-description .mobile-panel-prev {
        opacity: 0;
        pointer-events: none;
    }

    .nft-details-modal .description-content {
        min-height: 0;
    }

    .nft-details-modal .description-tee-image {
        width: 100%;
        max-width: 100%;
        padding: 8px;
    }

    .nft-details-modal .description-tee-image img {
        width: 100%;
        max-height: none;
        object-fit: contain;
    }

    .modal {
        padding: 40px 20px;
    }

    .ambient-scene::before {
        opacity: 0.14;
    }

    .ambient-scene::after {
        background: radial-gradient(320px circle at var(--cursor-x) var(--cursor-y), rgba(138, 254, 193, 0.12), transparent 68%);
    }

    .ambient-logo {
        opacity: calc(var(--logo-opacity, 0.1) * 0.85);
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }

    .site-header {
        position: static;
        top: auto;
        padding: 6px 8px 0;
    }

    .site-header .site-header-inner {
        width: 100%;
        padding: 7px 7px 8px;
        border-radius: 18px;
    }

    .site-header .site-nav ul {
        gap: 8px;
        padding: 3px 0;
    }

    .site-header .site-nav ul li a {
        padding: 10px 14px;
        min-height: 44px;
    }
    
    .hero--info h1 {
        font-size: 32px;
    }

    .hero--info .marketplace-toggle {
        letter-spacing: 2px;
    }

    .hero--info .university-list-panel {
        min-height: 96px;
    }
    
    .hero--info .btn {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    .gifts .block {
        padding: 20px;
    }
    
    .gifts .buy-btn {
        padding: 16px 25px;
        font-size: 16px;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .modal-close-btn, .modal-buy-btn {
        max-width: 100%;
    }

    .ambient-shape.shape-2,
    .ambient-shape.shape-4 {
        display: none;
    }
    
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }

    body {
        opacity: 1;
        transform: none;
    }

    .page-transition-layer {
        transition: none;
    }

    .ambient-scene {
        display: none;
    }

    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

.cookie-consent {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 1200;
    display: grid;
    gap: 12px;
    max-width: 940px;
    margin: 0 auto;
    padding: 14px 16px;
    background: rgba(7, 12, 28, 0.94);
    border: 1px solid rgba(47, 200, 255, 0.25);
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
    color: #e9f1ff;
}

.cookie-consent p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-consent-actions .btn,
.cookie-consent-actions .ghost-btn,
.cookie-consent-settings .btn {
    min-height: 40px;
}

.cookie-consent .ghost-btn {
    background: transparent;
    color: #e9f1ff;
    border: 1px solid rgba(47, 200, 255, 0.35);
    border-radius: 999px;
    padding: 9px 16px;
    cursor: pointer;
}

.cookie-consent .ghost-btn:hover {
    border-color: rgba(47, 200, 255, 0.62);
    background: rgba(47, 200, 255, 0.14);
}

.cookie-consent-settings {
    display: grid;
    gap: 10px;
    font-size: 13px;
}

.cookie-consent-settings label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 700px) {
    .cookie-consent-actions {
        flex-direction: column;
    }
}
