/* Gatalica.net – stilovi za besplatne tarot alate (karta-dana.html, da-ne-tarot.html) */
:root {
    --gold: #D4AF37;
    --gold-hover: #F6E27A;
    --dark-bg: #0a0a0a;
    --card-bg: rgba(20, 20, 20, 0.9);
    --border-color: rgba(212, 175, 55, 0.3);
    --text-light: #f4f4f4;
    --text-dim: #cccccc;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: var(--dark-bg); color: var(--text-light); font-family: 'Montserrat', sans-serif; overflow-x: hidden; line-height: 1.6; }
.hidden { display: none !important; }

/* Navigacija – isto kao početna */
.top-bar { background: rgba(0,0,0,0.95); border-bottom: 1px solid var(--border-color); padding: 8px 10px; position: sticky; width: 100%; top: 0; z-index: 2000; }
.contact-content { text-align: center; font-size: 0.9rem; font-weight: 500; }
.phone-main { color: var(--gold); font-weight: 700; text-decoration: none; margin: 0 5px; }
.gold-txt { color: var(--gold); font-weight: 700; }
.legal-note { font-size: 0.8rem; color: #eee; display: block; margin-top: 5px; font-weight: 400; }
.legal-note-inline { font-size: 0.8rem; color: #ddd; margin-left: 5px; }
.base-price-line { display: block; font-size: 0.75rem; color: #ccc; font-weight: 400; margin-top: 2px; }
header { text-align: center; padding: 20px 0; background: #000; }
.logo { font-family: 'Cormorant Garamond', serif; font-size: 2rem; margin: 0; letter-spacing: 5px; color: var(--gold); text-decoration: none; display: inline-block; }
.main-nav { display: flex; justify-content: center; gap: 30px; margin-top: 15px; padding: 10px; border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap; }
.main-nav a { color: #fff; text-decoration: none; text-transform: uppercase; font-size: 0.95rem; letter-spacing: 1px; transition: 0.3s; font-weight: 600; }
.main-nav a:hover, .main-nav a.active { color: var(--gold); }

/* Alat */
.tool-wrap { max-width: 900px; margin: 0 auto; padding: 40px 20px 20px; text-align: center; }
.tool-wrap h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 6vw, 3.6rem); color: var(--gold); line-height: 1.1; margin-bottom: 12px; }
.tool-sub { font-size: 1.1rem; color: #eee; max-width: 620px; margin: 0 auto 30px; }

.tarot-card { width: 200px; height: 351px; margin: 10px auto 30px; perspective: 1000px; }
.tarot-inner { position: relative; width: 100%; height: 100%; transition: transform 0.8s; transform-style: preserve-3d; }
.tarot-card.flipped .tarot-inner { transform: rotateY(180deg); }
.tarot-card.shuffling .tarot-inner { animation: shuffle 0.7s ease-in-out; }
@keyframes shuffle { 0%,100% { transform: translateX(0) rotate(0); } 25% { transform: translateX(-14px) rotate(-4deg); } 75% { transform: translateX(14px) rotate(4deg); } }
.tarot-back, .tarot-front { position: absolute; inset: 0; border-radius: 14px; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 2px solid var(--gold); box-shadow: 0 10px 30px rgba(0,0,0,0.7), 0 0 25px rgba(212,175,55,0.15); }
.tarot-back { background: radial-gradient(circle at 50% 50%, rgba(212,175,55,0.25) 0 18%, transparent 19%), repeating-linear-gradient(45deg, #15111f 0 10px, #1d1730 10px 20px); display: flex; align-items: center; justify-content: center; }
.tarot-back::after { content: '\2726'; font-size: 3rem; color: var(--gold); }
.tarot-front { background: #111; transform: rotateY(180deg); overflow: hidden; }
.tarot-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tarot-face { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 18px 12px; }
.tarot-num { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--gold); }
.tarot-icon { font-family: "Segoe UI Symbol", "DejaVu Sans", serif; font-size: 4.2rem; line-height: 1; color: var(--gold); text-shadow: 0 0 20px rgba(212,175,55,0.5); }
.tarot-name { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; color: #fff; font-weight: 700; line-height: 1.1; border-top: 1px solid var(--border-color); padding-top: 8px; width: 100%; }

.btn-gold { display: inline-block; padding: 15px 35px; background: var(--gold); color: #000; text-decoration: none; font-weight: 800; font-size: 1rem; text-transform: uppercase; border-radius: 4px; transition: 0.3s; border: 2px solid var(--gold); cursor: pointer; min-width: 220px; font-family: 'Montserrat', sans-serif; }
.btn-gold:hover { background: #fff; border-color: #fff; transform: scale(1.03); }
.btn-outline { display: inline-block; padding: 12px 28px; background: rgba(0,0,0,0.6); color: var(--gold); text-decoration: none; font-weight: 700; font-size: 0.95rem; text-transform: uppercase; border-radius: 4px; transition: 0.3s; border: 2px solid var(--gold); cursor: pointer; font-family: 'Montserrat', sans-serif; }
.btn-outline:hover { background: var(--gold); color: #000; }

.question-box { max-width: 520px; margin: 0 auto 20px; }
.question-box input { width: 100%; padding: 14px 16px; font-size: 1rem; border-radius: 6px; border: 1px solid var(--border-color); background: #111; color: #fff; font-family: 'Montserrat', sans-serif; }
.question-box input:focus { outline: none; border-color: var(--gold); }
.question-hint { font-size: 0.8rem; color: #aaa; margin-top: 6px; }

.result { max-width: 720px; margin: 0 auto; animation: fadeUp 0.6s ease-out; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.result-kicker { text-transform: uppercase; letter-spacing: 3px; font-size: 0.85rem; color: #ddd; }
.result-title { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; color: var(--gold); margin: 4px 0 10px; }
.result-answer { font-family: 'Cormorant Garamond', serif; font-size: 4rem; letter-spacing: 6px; margin: 0 0 10px; color: var(--gold); }
.result-question { font-style: italic; color: #ccc; margin-bottom: 14px; }
.result-lead { font-size: 1.15rem; color: #f0f0f0; margin-bottom: 12px; }
.result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 20px; text-align: left; }
.result-grid div { background: rgba(255,255,255,0.05); border: 1px solid var(--border-color); border-radius: 10px; padding: 16px; }
.result-grid h3 { color: var(--gold); font-size: 1rem; margin-bottom: 6px; }
.result-grid p { color: #ddd; font-size: 0.95rem; }
.result-note { font-size: 0.85rem; color: #aaa; margin-top: 16px; }

.tool-cta { max-width: 720px; margin: 30px auto 10px; padding: 26px 20px; background: linear-gradient(135deg, rgba(20,20,20,0.95), rgba(35,35,40,0.95)); border: 1px solid var(--gold); border-radius: 10px; }
.tool-cta h2 { font-family: 'Cormorant Garamond', serif; color: var(--gold); font-size: 1.9rem; line-height: 1.2; margin-bottom: 8px; }
.tool-cta p { color: #eee; margin-bottom: 18px; }
.cta-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.share-box { margin-top: 18px; }
.fun-note { font-size: 0.8rem; color: #999; margin-top: 18px; }

.tarot-card.pickable { cursor: pointer; }
.tarot-card.pickable .tarot-back { animation: glow 2.2s ease-in-out infinite; }
.tarot-card.pickable:hover .tarot-inner { transform: translateY(-6px) scale(1.02); transition: transform 0.3s; }
.tarot-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 14px; }
@keyframes glow { 0%,100% { box-shadow: 0 10px 30px rgba(0,0,0,0.7), 0 0 18px rgba(212,175,55,0.15); } 50% { box-shadow: 0 10px 30px rgba(0,0,0,0.7), 0 0 38px rgba(212,175,55,0.55); } }
.pick-hint { color: var(--gold); font-size: 1rem; letter-spacing: 1px; margin: -10px 0 20px; }

/* SEO tekst */
.seo-box { max-width: 900px; margin: 50px auto; padding: 36px; background: linear-gradient(135deg, rgba(20,20,20,0.95), rgba(35,35,40,0.95)); border-left: 5px solid var(--gold); border-radius: 5px; text-align: left; }
.seo-box h2 { font-family: 'Cormorant Garamond', serif; color: var(--gold); font-size: 2rem; margin-bottom: 14px; line-height: 1.2; }
.seo-box h3 { color: #fff; font-size: 1.15rem; margin: 22px 0 8px; }
.seo-box p, .seo-box li { font-size: 1.02rem; color: #eee; margin-bottom: 10px; }
.seo-box ul { padding-left: 20px; }
.seo-box a { color: var(--gold); }
.card-list { columns: 2 260px; column-gap: 30px; padding-left: 0 !important; list-style: none; }
.card-list li { break-inside: avoid; font-size: 0.95rem !important; margin-bottom: 8px; }
.card-list strong { color: var(--gold); }

.other-tool { text-align: center; margin: 10px auto 40px; }

/* Plutajući SMS gumb */
.floating-btn { position: fixed; bottom: 30px; right: 30px; background: var(--gold); color: #000; width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 5px 20px rgba(0,0,0,0.6); z-index: 3000; text-decoration: none; border: 3px solid #fff; }

footer { text-align: center; padding: 50px 20px; font-size: 0.9rem; color: #ccc; border-top: 1px solid #222; background: #050505; }
.footer-link { color: #ddd; text-decoration: none; margin: 0 5px; }
.footer-link:hover { color: var(--gold); text-decoration: underline; }

@media (max-width: 768px) {
    .main-nav { gap: 14px; padding: 12px; }
    .main-nav a { font-size: 0.85rem; }
    .result-answer { font-size: 3.2rem; }
    .seo-box { padding: 24px; margin: 30px 12px; }
    .floating-btn { width: 60px; height: 60px; font-size: 26px; bottom: 20px; right: 20px; }
}
