/* ===========================
   RESET & BASE
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold1: #a97918;
    --gold2: #c7962b;
    --gold3: #e7c566;
    --gold4: #fff1a5;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: #0d0d0d;
    overflow-x: hidden;
    color: #fff;
    min-height: 100vh;
}

body {
    background: #0d0a08;
    background-image:
        radial-gradient(ellipse at 30% 30%, rgba(180, 130, 60, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 70%, rgba(200, 160, 80, 0.08) 0%, transparent 45%),
        repeating-linear-gradient(60deg,
            rgba(255, 215, 0, 0.015) 0px,
            rgba(255, 215, 0, 0.015) 1px,
            transparent 1px,
            transparent 6px);
    background-size: cover;
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background:
        radial-gradient(circle at top, rgba(255, 205, 80, .10), transparent 35%),
        radial-gradient(circle at bottom, rgba(255, 205, 80, .04), transparent 45%),
        radial-gradient(circle at center, rgba(255, 255, 255, .02), transparent 60%);
    mix-blend-mode: screen;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: .22;
    background-image:
        repeating-linear-gradient(45deg,
            rgba(255, 255, 255, .025) 0px,
            rgba(255, 255, 255, .025) 1px,
            transparent 2px,
            transparent 5px),
        repeating-linear-gradient(-45deg,
            rgba(0, 0, 0, .18) 0px,
            rgba(0, 0, 0, .18) 2px,
            transparent 4px,
            transparent 7px);
    mix-blend-mode: soft-light;
}

/* ===========================
   OVERLAY
=========================== */
.overlay {
    position: fixed;
    inset: 0;
    z-index: 2;
    background: radial-gradient(circle at top, rgba(255, 204, 80, .08), transparent 55%);
    pointer-events: none;
}

/* ===========================
   HERO
=========================== */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 70px 20px;
    position: relative;
    z-index: 3;
}

/* ===========================
   CARD
=========================== */
.card {
    width: 100%;
    max-width: 560px;
    padding: 55px 45px;
    border-radius: 28px;
     background: linear-gradient(180deg, rgba(15, 15, 15, .90), rgba(3, 3, 3, .95));
    backdrop-filter: blur(18px);
    border: 1px solid rgba(231, 197, 102, .28);
    box-shadow:
        0 0 70px rgba(0, 0, 0, .65),
        0 0 30px rgba(214, 174, 77, .08);
    text-align: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    animation:
        fade 1s ease,
        floating 7s ease-in-out infinite;
    transition:
        transform .45s ease,
        box-shadow .45s ease;
}

.card:hover {
    transform: perspective(1200px) rotateX(4deg) rotateY(-4deg) translateY(-8px);
    box-shadow:
        0 35px 90px rgba(0, 0, 0, .65),
        0 0 45px rgba(214, 174, 77, .18);
}

.card::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(231, 197, 102, .08), transparent 70%);
    top: -260px;
    left: -120px;
    pointer-events: none;
    z-index: 0;
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .12), transparent, rgba(231, 197, 102, .28));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

/* ===========================
   PHOTO
=========================== */
.photo {
    width: 190px;
    height: 190px;
    margin: 0 auto 38px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: linear-gradient(180deg, #202020, #0c0c0c);
    border: 4px solid #d8b04b;
    box-shadow:
        0 0 18px rgba(231, 197, 102, .35),
        0 0 45px rgba(231, 197, 102, .15),
        inset 0 0 25px rgba(255, 255, 255, .05);
    position: relative;
    overflow: hidden;
    transition: transform .35s, box-shadow .35s;
}

.photo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 45px rgba(214, 174, 77, .35);
}

.photo::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    background: conic-gradient(transparent, rgba(255, 255, 255, .55), transparent, transparent);
    animation: spin 5s linear infinite;
    z-index: 1;
}

.photo::after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: #121212;
    z-index: 2;
}

.photo img {
    position: absolute;
    inset: 6px;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    border-radius: 50%;
    object-fit: cover;
    display: block;
    z-index: 20;
}

.photoPlaceholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 15;
    color: #d6ae4d;
}

.photoPlaceholder i {
    font-size: 60px;
    margin-bottom: 12px;
}

.photoPlaceholder p {
    font-size: 14px;
    letter-spacing: 1px;
}

.photo i,
.photo p {
    position: relative;
    z-index: 5;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ===========================
   HEADINGS
=========================== */
h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(180deg, #fffef6 0%, #ffe69c 20%, #c99627 55%, #fff5be 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(255, 215, 110, .15));
}

/* SVJETLO IZA TEKSTA - z-index: -1 */
h1::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(231, 197, 102, 0.25), transparent);
    transform: skewX(-22deg);
    animation: nameShine 6s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes nameShine {
    0% {
        left: -70%;
    }
    100% {
        left: 170%;
    }
}

h2 {
    margin-top: 12px;
    font-size: 19px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #dadada;
}

/* ===========================
   LINE
=========================== */
.line {
    width: 120px;
    height: 2px;
    background: #d6ae4d;
    margin: 28px auto;
    box-shadow: 0 0 12px #d6ae4d;
}

/* ===========================
   MOTTO
=========================== */
.motto {
    font-size: 15px;
    letter-spacing: 3px;
    font-weight: 600;
    color: #d6ae4d;
    margin-bottom: 40px;
}

/* ===========================
   BUTTONS
=========================== */
.buttons {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 45px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    color: #f7df8c;
    background: linear-gradient(180deg, #3a3a3a, #181818);
    border: 1px solid rgba(231, 197, 102, .25);
    transition: .35s;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, .45),
        inset 0 1px 1px rgba(255, 255, 255, .08);
}

.btn::before {
    content: "";
    position: absolute;
    left: -120%;
    top: 0;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
    transform: skewX(-25deg);
    transition: .8s;
    z-index: 1;
}

.btn:hover::before {
    left: 150%;
}

.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg,
            rgba(255, 255, 255, .03) 0px,
            rgba(255, 255, 255, .03) 1px,
            transparent 2px,
            transparent 4px);
    opacity: .35;
    pointer-events: none;
    z-index: 0;
}

.btn:hover {
    transform: translateY(-6px);
    border-color: #e7c566;
    background: linear-gradient(180deg, #4b3a18, #20180a);
    color: #fff;
    box-shadow:
        0 22px 55px rgba(0, 0, 0, .55),
        0 0 30px rgba(231, 197, 102, .22);
}

.btn i {
    font-size: 22px;
    width: 28px;
    text-align: center;
    color: #d6ae4d;
    transition: .35s;
    position: relative;
    z-index: 2;
}

.btn:hover i {
    transform: scale(1.15);
}

.btn span {
    margin-left: auto;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 50px;
    background: rgba(214, 174, 77, .18);
    color: #d6ae4d;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* Button variants */
.instagram:hover {
    background: linear-gradient(135deg, #1b1b1b, #472f15);
}

.facebook:hover {
    background: linear-gradient(135deg, #1b1b1b, #25345e);
}

.whatsapp:hover {
    background: linear-gradient(135deg, #1b1b1b, #1d4d33);
}

/* VIBER BUTTON */
.viber:hover {
    background: linear-gradient(135deg, #1b1b1b, #4a1b6b);
    border-color: #7b3f9e;
    box-shadow: 0 0 35px rgba(123, 63, 158, 0.4);
}

/* ============================================
   FORMS BUTTON - SUPROTNE BOJE
   (zlatna pozadina, tamni tekst)
============================================ */
.forms {
    background: linear-gradient(180deg, #d6ae4d, #b8922a) !important;
    color: #1a1a1a !important;
    border: 2px solid #e7c566 !important;
    box-shadow: 
        0 0 30px rgba(214, 174, 77, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.3) !important;
    font-weight: 700 !important;
}

.forms:hover {
    background: linear-gradient(180deg, #f0d080, #c99627) !important;
    color: #0a0a0a !important;
    transform: translateY(-6px) scale(1.02);
    border-color: #fff5be !important;
    box-shadow: 
        0 22px 55px rgba(0, 0, 0, 0.55),
        0 0 50px rgba(231, 197, 102, 0.6) !important;
}

.forms i {
    color: #1a1a1a !important;
}

.forms:hover i {
    color: #0a0a0a !important;
    transform: scale(1.15);
}

.forms span {
    display: none !important;
}

/* ===========================
   PARTNER
=========================== */
.partner {
    margin-top: 10px;
    padding-top: 30px;
    border-top: 1px solid rgba(214, 174, 77, .18);
}

.partner span {
    display: block;
    font-size: 13px;
    letter-spacing: 4px;
    color: #9f9f9f;
    margin-bottom: 18px;
}

.partner a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #e7c566;
    font-size: 22px;
    font-weight: 600;
    transition: .35s;
}

.partner a i {
    font-size: 28px;
}

.partner a:hover {
    transform: scale(1.05);
    color: #fff0bf;
    text-shadow: 0 0 15px rgba(214, 174, 77, .45);
}

/* ===========================
   BOTTOM
=========================== */
.bottom {
    margin-top: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.bottom a {
    display: block;
    margin: 8px 0;
    color: #d6ae4d;
    text-decoration: none;
    transition: .3s;
}

.bottom a:hover {
    color: #ffd76d;
}

/* ===========================
   SOCIAL
=========================== */
.social {
    display: flex;
    gap: 22px;
}

.social a {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(214, 174, 77, .30);
    background: rgba(255, 255, 255, .03);
    color: #d6ae4d;
    font-size: 22px;
    text-decoration: none;
    transition: .35s;
    box-shadow: 0 0 18px rgba(0, 0, 0, .35);
}

.social a:hover {
    transform: translateY(-5px) scale(1.08);
    background: #d6ae4d;
    color: #111;
    box-shadow: 0 0 28px rgba(214, 174, 77, .55);
}

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floating {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0);
    }
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
    .card {
        padding: 35px 22px;
    }

    .photo {
        width: 140px;
        height: 140px;
        font-size: 42px;
    }

    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 16px;
    }

    .motto {
        font-size: 13px;
        letter-spacing: 2px;
    }

    .btn {
        font-size: 15px;
        padding: 16px;
    }

    .partner a {
        font-size: 18px;
    }
}
/* ===========================
   CJENIK LINK - SIGURNO
=========================== */
.partner .cjenik-link {
    display: block !important;
    margin-top: 10px !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    color: #d6ae4d !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    letter-spacing: 0.5px !important;
    opacity: 0.85 !important;
    transition: .3s !important;
}

.partner .cjenik-link:hover {
    color: #fff0bf !important;
    opacity: 1 !important;
}
/* ===========================
   FITNESS CJENIK LINK (u glavnim gumbima)
=========================== */
.fitness-cjenik-link {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 20px;
    color: #d6ae4d;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 400;
    letter-spacing: 1px;
    transition: .3s;
    opacity: 0.85;
}

.fitness-cjenik-link:hover {
    color: #fff0bf;
    opacity: 1;
    text-shadow: 0 0 15px rgba(214, 174, 77, .5);
}