@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-gradient: linear-gradient(90deg, #FD7452, #FF4265);
    --primary-color: #FF5C6C;
    --bg-main: radial-gradient(circle at top left, #3B0052 0, #040006 52%, #050012 100%);
    --bg-footer: rgba(0, 0, 0, 0.60);
    --surface-bg: rgba(255, 255, 255, 0.03);
    --surface-border: rgba(255, 255, 255, 0.08);
    --surface-border-strong: rgba(255, 255, 255, 0.20);
    --text-muted-soft: rgba(255, 255, 255, 0.6);
    --text-muted-softer: rgba(255, 255, 255, 0.5);
}

/* GLOBAL */

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Poppins, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg-main);
    color: #ffffff;
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

.bg-body-gradient {
    background: transparent;
}

/* TEXT UTILITIES */

.text-primary-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}

.text-white-70 {
    color: var(--text-muted-soft) !important;
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.8) !important;
}

.text-white-60 {
    color: var(--text-muted-softer) !important;
}

.letter-spacing-wide {
    letter-spacing: 0.09em;
}

/* SECTIONS */

.section-title {
    font-size: 2rem;
    font-weight: 700;
}

.section-subtitle {
    max-width: 640px;
    font-size: 0.95rem;
    color: var(--text-muted-soft);
}

@media (min-width: 992px) {
    .py-lg-6 {
        padding-top: 4.5rem !important;
        padding-bottom: 4.5rem !important;
    }
}

/* HEADER */

.navbar {
    background: transparent;
}

.navbar-brand span {
    font-size: 0.78rem;
}

.nav-link {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75) !important;
}

.nav-link:hover,
.nav-link:focus {
    color: #fff !important;
}

/* HERO */

.hero-heading {
    line-height: 1.1;
}

.hero-avatar {
    width: 88px;
    height: 88px;
    object-fit: cover;
}

.effect-circle-hero {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(253, 116, 82, 0.22), transparent 65%);
    top: -60px;
    left: -40px;
    z-index: -1;
}

/* CARDS & SURFACES */

.surface-card {
    background-color: var(--surface-bg);
    border-radius: 1.25rem;
    border: 1px solid var(--surface-border);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.surface-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.75);
    border-color: var(--surface-border-strong);
    background-color: rgba(255, 255, 255, 0.04);
}

.surface-block {
    border-radius: 1.25rem;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.6);
    padding: 1.5rem 1.5rem 1.25rem;
}

.surface-divider {
    border-color: rgba(255, 255, 255, 0.12);
}

/* Icons in about cards */

.about-icon {
    width: 80px;
    height: auto;
}

/* Rating stars */

.rating-stars {
    font-size: 0.95rem;
    color: #FACC15;
}

/* BUTTONS */

.btn-primary-gradient {
    background: var(--primary-gradient);
    border: none;
    color: #fff;
    font-weight: 500;
    border-radius: 999px;
    padding-inline: 1.4rem;
    padding-block: 0.6rem;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.btn-primary-gradient:hover,
.btn-primary-gradient:focus {
    color: #fff;
    filter: brightness(1.05);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55);
}

.btn-outline-light-ghost {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-size: 0.9rem;
    padding-inline: 1.2rem;
    padding-block: 0.5rem;
    background: transparent;
}

.btn-outline-light-ghost:hover,
.btn-outline-light-ghost:focus {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.06);
}

.btn-primary-gradient.btn-lg,
.btn-outline-light-ghost.btn-lg {
    font-size: 0.98rem;
}

/* old .effect styles адаптовані, але без дичі */

.effect {
    text-align: center;
    display: inline-block;
    position: relative;
    text-decoration: none;
    color: #fff;
    border-radius: 999px;
    overflow: hidden;
}

.effect.effect-2 {
    transition: padding-right 0.25s ease;
}

.effect.effect-2:before {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 16px;
    width: 16px;
    height: 100%;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.effect.effect-2:hover {
    padding-right: 2.2rem;
}

.effect.effect-2:hover:before {
    opacity: 1;
    transform: translateX(4px);
}

/* Toggle button */

.icon-toggle-button {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* FOOTER */

.bg-footer {
    background-color: var(--bg-footer);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.border-light-subtle-10 {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* MODAL */

.bg-modal {
    background: radial-gradient(circle at top, rgba(253, 116, 82, 0.12), transparent 40%) #090010;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.85);
}

.form-control-dark {
    background-color: rgba(0, 0, 0, 0.55);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.9rem;
}

.form-control-dark::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-control-dark:focus {
    outline: none;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.6);
}

/* ALERTS */

.alert {
    padding: 0.55rem 0.9rem;
}

/* CHART CANVASES */

canvas {
    width: 100% !important;
    height: 260px !important;
}

/* SMALL UTILS */

.shadow-soft {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}
