* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body { 
    font-family: 'Inter', sans-serif;
    background-color: #0b0f19; 
    color: #f8fafc; 
    background-image: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.15) 0%, transparent 70%); 
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

header { 
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(to bottom, rgba(11, 15, 25, 0.75), rgba(11, 15, 25, 0.9)), url('/assets/img/novinky_pozadi.jpg'); 
    background-size: cover;
    background-position: center;
    padding: 150px 20px; 
    color: #ffffff; 
}

@media (min-width: 768px) {
    header {
        padding: 96px 16px;
    }
}

.badge {
    display: inline-block;
    margin-bottom: 24px;
    padding: 6px 16px;
    border-radius: 9999px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    background-color: rgba(59, 130, 246, 0.1);
    color: #b6d5fa;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

header h1 {
    font-size: 44px; 
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

@media (min-width: 768px) {
    header h1 {
        font-size: 72px;
    }
}

.gradient-text { 
    background: linear-gradient(135deg, #ffffff, #3b82f6); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}

.subtitle {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 32px;
    max-width: 672px;
    line-height: 1.6;
    font-weight: 500;
}

@media (min-width: 768px) {
    .subtitle {
        font-size: 20px;
        margin-bottom: 40px;
    }
}

#ip-btn {
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #1e293b;
    border: 1px solid #334155;
    padding: 16px 24px; 
    border-radius: 16px;
    font-size: 18px;
    font-family: monospace;
    font-weight: 700;
    color: #ffffff;
    transition: all 0.3s;
    box-shadow: 0 25px 50px -12px rgba(234, 179, 8, 0.1);
    max-width: 100%; 
}

@media (min-width: 768px) {
    #ip-btn {
        gap: 16px;
        padding: 20px 32px;
        font-size: 24px;
    }
}

#ip-btn:hover {
    background-color: #1e293b;
    border-color: #475569;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 55%;
    background-color: #22c55e;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

#ip-btn i {
    color: #64748b;
    transition: color 0.2s;
}

#ip-btn:hover i {
    color: #ffffff;
}

.copy-hint {
    margin-top: 16px;
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Hlavní obsah a Karty */
main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 64px 0;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background-color: #1e293b;
    border: 1px solid #0b0f19;
    border-radius: 24px;
    padding: 32px;
    transition: all 0.3s;
}

.card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.2); 
    border-color: #3b82f6; 
}

.section-divider {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #3b82f6, transparent);
    margin: 60px auto;
    width: 80%;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5); 
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 24px;
}

.icon-blue { background-color: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.icon-green { background-color: rgba(34, 197, 94, 0.2); color: #4ade80; }
.icon-purple { background-color: rgba(168, 85, 247, 0.2); color: #c084fc; }

.card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.card p {
    color: #94a3b8;
    line-height: 1.5;
}

.cta-discord {
    background: linear-gradient(to right, #1e293b, #0f172a);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 32px; 
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin: 40px 0 64px 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
    .cta-discord {
        flex-direction: row;
        padding: 40px;
        border-radius: 48px;
        margin: 64px 0 104px 0;
        gap: 40px;
    }
}

.cta-content {
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 20px;
    text-align: center;
}

@media (min-width: 768px) {
    .cta-content {
        flex-direction: row;
        text-align: left;
        gap: 32px;
    }
}

.discord-logo {
    width: 250px;
    height: auto;
}

.cta-content h2 {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .cta-content h2 {
        font-size: 30px;
    }
}

.cta-content p {
    color: #cbd5e1;
    max-width: 576px;
    font-size: 14px;
}

@media (min-width: 768px) {
    .cta-content p {
        font-size: 16px;
    }
}

.btn-cta {
    background-color: #4f46e5;
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 900;
    font-size: 18px;
    text-decoration: none;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    white-space: nowrap;
    width: 100%; 
}

@media (min-width: 768px) {
    .btn-cta {
        width: auto;
    }
}

.btn-cta:hover {
    background-color: #6366f1;
}

/* Patička */
footer {
    background-color: #1e293b;
    border-top: 1px solid #0b0f19;
    padding: 48px 16px 32px 16px;
    margin-top: auto;
    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-text {
    color: #94a3b8;
    margin-bottom: 24px;
    max-width: 448px;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
}

.copyright {
    color: #475569;
    font-size: 12px;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .copyright {
        font-size: 14px;
    }
}

/* --- Helper --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.modal-visible {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background-color: #1e293b;
    border-radius: 28px;
    max-width: 500px;
    width: 100%;
    overflow: hidden;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}


.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(11, 15, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
}

.modal-close:hover {
    background-color: #ef4444;
    border-color: #ef4444;
}

.modal-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1e1b4b, #2563eb);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.fallback-icon {
    font-size: 56px;
    color: #3b82f6;
    opacity: 0.8;
}

.modal-body {
    padding: 32px;
    text-align: center;
}

.modal-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(234, 179, 8, 0.15);
    border: 1px solid #eab308;
    color: #fde047;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.modal-body h2 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.modal-body p {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-requirements {
    background-color: rgba(11, 15, 25, 0.4);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 24px;
    text-align: left;
}

.modal-requirements h4 {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-requirements ul {
    list-style: none;
}

.modal-requirements li {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-requirements li:last-child {
    margin-bottom: 0;
}

.text-green {
    color: #4ade80;
}

.btn-modal-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #03860a;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 700;
    transition: background-color 0.2s;
    width: 100%;
}

.btn-modal-cta:hover {
    background-color: #2563eb;
}

/* ==========================================================================
   VOXE AI — telefon s chatem ve stylu iMessage (jako FiveM telefon)
   ========================================================================== */

/* Tlačítko pro otevření telefonu */
#voxe-bot-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #f39c12 0%, #d35400 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(211, 84, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 9999;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

#voxe-bot-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(211, 84, 0, 0.6);
}

/* Kontejner s telefonem – umístění na obrazovce */
#voxe-chat-window {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
    opacity: 1;
    transform: translateY(0) scale(1);
    transform-origin: bottom right;
}

#voxe-chat-window.hidden {
    opacity: 0;
    transform: translateY(30px) scale(0.92);
    pointer-events: none;
}

/* Tělo telefonu – černý rámeček jako fyzické zařízení */
.phone-frame {
    width: 320px;
    height: 660px;
    max-height: 82vh;
    background: linear-gradient(155deg, #1c1f26, #05060a);
    border-radius: 52px;
    padding: 12px;
    box-shadow:
        0 30px 60px -12px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 0 0 5px #05060a;
    position: relative;
}

/* Boční tlačítka telefonu, pro efekt reálného zařízení */
.phone-frame::before,
.phone-frame::after {
    content: '';
    position: absolute;
    left: -3px;
    width: 3px;
    background: #05060a;
    border-radius: 2px 0 0 2px;
}
.phone-frame::before { top: 110px; height: 55px; }
.phone-frame::after { top: 180px; height: 90px; }

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f5f5f7;
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Dynamic-island / notch nahoře */
.dynamic-island{
    position:absolute;
    top:10px;
    left:50%;
    transform:translateX(-50%);
    width:128px;
    height:36px;
    background:#000;
    border-radius:999px;
    z-index:50;
    overflow:hidden;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.03),
        0 1px 3px rgba(255,255,255,.08),
        0 8px 18px rgba(0,0,0,.45);
}

.dynamic-island::before{
    content:"";
    position:absolute;
    right:13px;
    top:50%;
    transform:translateY(-50%);
    width:12px;
    height:12px;
    border-radius:50%;
    background:#161616;
    box-shadow:
        inset 0 0 4px rgba(255,255,255,.15),
        0 0 2px rgba(0,0,0,.8);
}

.dynamic-island::after{
    content:"";
    position:absolute;
    left:22px;
    top:50%;
    transform:translateY(-50%);
    width:78px;
    height:18px;
    border-radius:999px;
    background:#050505;
}

/* Status bar telefonu */
.phone-statusbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 26px 2px;
    font-size: 13px;
    font-weight: 700;
    color: #0b0f19;
    flex-shrink: 0;
}

.sb-icons {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

/* Hlavička konverzace ve stylu iMessage */
.imessage-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 16px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    flex-shrink: 0;
    background: rgba(245, 245, 247, 0.9);
}

.imsg-back {
    position: absolute;
    left: 10px;
    top: 4px;
    background: none;
    border: none;
    color: #007aff;
    font-size: 20px;
    padding: 6px;
    cursor: pointer;
}

.imsg-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f39c12 0%, #d35400 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 4px;
    box-shadow: 0 2px 6px rgba(211, 84, 0, 0.35);
}

.imsg-name {
    font-size: 13px;
    font-weight: 700;
    color: #0b0f19;
}

.imsg-sub {
    font-size: 11px;
    color: #8e8e93;
    margin-top: 1px;
}

/* Prostor pro zprávy */
.imsg-messages {
    flex: 1;
    padding: 14px 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #f5f5f7;
}

.imsg-messages::-webkit-scrollbar {
    width: 5px;
}
.imsg-messages::-webkit-scrollbar-track {
    background: transparent;
}
.imsg-messages::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}

.imsg-daystamp {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #8e8e93;
    margin: 4px 0 10px;
}

.imsg-row {
    display: flex;
    width: 100%;
}

.imsg-row.received { justify-content: flex-start; }
.imsg-row.sent { justify-content: flex-end; }

/* Bubliny zpráv – klasický iMessage vzhled */
.imsg-bubble {
    max-width: 76%;
    padding: 9px 14px;
    border-radius: 20px;
    font-size: 14.5px;
    line-height: 1.38;
    word-wrap: break-word;
}

.imsg-bubble.received {
    background: #e9e9eb;
    color: #0b0f19;
    border-bottom-left-radius: 6px;
}

.imsg-bubble.sent {
    background: linear-gradient(180deg, #0b93f6, #0079fb);
    color: #ffffff;
    border-bottom-right-radius: 6px;
}

.imsg-bubble a {
    color: inherit;
    text-decoration: underline;
}

/* Animace psaní – tři tečky jako v iMessage */
.imsg-typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
}

.imsg-typing .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9a9a9e;
    animation: imsg-bounce 1.2s infinite ease-in-out;
}

.imsg-typing .dot:nth-child(2) { animation-delay: 0.15s; }
.imsg-typing .dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes imsg-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-4px); opacity: 1; }
}

/* Spodní panel se vstupem, jako v iMessage */
.imsg-input-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(245, 245, 247, 0.95);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.imsg-plus {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #e5e5ea;
    color: #8e8e93;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.imsg-input-pill {
    flex: 1;
    background: #ffffff;
    border: 1px solid #d1d1d6;
    border-radius: 18px;
    padding: 2px 4px;
}

#chat-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 7px 10px;
    font-size: 14.5px;
    font-family: inherit;
    color: #0b0f19;
}

#chat-input::placeholder {
    color: #a0a0a5;
}

.imsg-send {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #0b93f6;
    color: #ffffff;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.15s, background 0.15s;
}

.imsg-send:hover {
    background: #0079fb;
    transform: scale(1.05);
}

/* Menší telefon na mobilních zařízeních */
@media (max-width: 420px) {
    #voxe-chat-window {
        right: 12px;
        bottom: 12px;
    }
    .phone-frame {
        width: 90vw;
        max-width: 320px;
        height: 78vh;
    }
}

body { 
    font-family: 'Inter', sans-serif;
    background-color: #0b0f19; 
    color: #f8fafc; 
    background-image: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.15) 0%, transparent 70%); 
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

header { 
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(to bottom, rgba(11, 15, 25, 0.75), rgba(11, 15, 25, 0.9)), url('/assets/img/novinky_pozadi.jpg'); 
    background-size: cover;
    background-position: center;
    padding: 150px 20px; 
    color: #ffffff; 
}

@media (min-width: 768px) {
    header {
        padding: 96px 16px;
    }
}

.badge {
    display: inline-block;
    margin-bottom: 24px;
    padding: 6px 16px;
    border-radius: 9999px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    background-color: rgba(59, 130, 246, 0.1);
    color: #b6d5fa;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

header h1 {
    font-size: 44px; 
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

@media (min-width: 768px) {
    header h1 {
        font-size: 72px;
    }
}

.gradient-text { 
    background: linear-gradient(135deg, #ffffff, #3b82f6); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}

.subtitle {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 32px;
    max-width: 672px;
    line-height: 1.6;
    font-weight: 500;
}

@media (min-width: 768px) {
    .subtitle {
        font-size: 20px;
        margin-bottom: 40px;
    }
}

#ip-btn {
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #1e293b;
    border: 1px solid #334155;
    padding: 16px 24px; 
    border-radius: 16px;
    font-size: 18px;
    font-family: monospace;
    font-weight: 700;
    color: #ffffff;
    transition: all 0.3s;
    box-shadow: 0 25px 50px -12px rgba(234, 179, 8, 0.1);
    max-width: 100%; 
}

@media (min-width: 768px) {
    #ip-btn {
        gap: 16px;
        padding: 20px 32px;
        font-size: 24px;
    }
}

#ip-btn:hover {
    background-color: #1e293b;
    border-color: #475569;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 55%;
    background-color: #22c55e;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

#ip-btn i {
    color: #64748b;
    transition: color 0.2s;
}

#ip-btn:hover i {
    color: #ffffff;
}

.copy-hint {
    margin-top: 16px;
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Hlavní obsah a Karty */
main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 64px 0;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background-color: #1e293b;
    border: 1px solid #0b0f19;
    border-radius: 24px;
    padding: 32px;
    transition: all 0.3s;
}

.card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.2); 
    border-color: #3b82f6; 
}

.section-divider {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #3b82f6, transparent);
    margin: 60px auto;
    width: 80%;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5); 
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 24px;
}

.icon-blue { background-color: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.icon-green { background-color: rgba(34, 197, 94, 0.2); color: #4ade80; }
.icon-purple { background-color: rgba(168, 85, 247, 0.2); color: #c084fc; }

.card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.card p {
    color: #94a3b8;
    line-height: 1.5;
}

.cta-discord {
    background: linear-gradient(to right, #1e293b, #0f172a);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 32px; 
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin: 40px 0 64px 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
    .cta-discord {
        flex-direction: row;
        padding: 40px;
        border-radius: 48px;
        margin: 64px 0 104px 0;
        gap: 40px;
    }
}

.cta-content {
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 20px;
    text-align: center;
}

@media (min-width: 768px) {
    .cta-content {
        flex-direction: row;
        text-align: left;
        gap: 32px;
    }
}

.discord-logo {
    width: 250px;
    height: auto;
}

.cta-content h2 {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .cta-content h2 {
        font-size: 30px;
    }
}

.cta-content p {
    color: #cbd5e1;
    max-width: 576px;
    font-size: 14px;
}

@media (min-width: 768px) {
    .cta-content p {
        font-size: 16px;
    }
}

.btn-cta {
    background-color: #4f46e5;
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 900;
    font-size: 18px;
    text-decoration: none;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    white-space: nowrap;
    width: 100%; 
}

@media (min-width: 768px) {
    .btn-cta {
        width: auto;
    }
}

.btn-cta:hover {
    background-color: #6366f1;
}

/* Patička */
footer {
    background-color: #1e293b;
    border-top: 1px solid #0b0f19;
    padding: 48px 16px 32px 16px;
    margin-top: auto;
    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-text {
    color: #94a3b8;
    margin-bottom: 24px;
    max-width: 448px;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
}

.copyright {
    color: #475569;
    font-size: 12px;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .copyright {
        font-size: 14px;
    }
}

/* --- Helper --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.modal-visible {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background-color: #1e293b;
    border-radius: 28px;
    max-width: 500px;
    width: 100%;
    overflow: hidden;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}


.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(11, 15, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
}

.modal-close:hover {
    background-color: #ef4444;
    border-color: #ef4444;
}

.modal-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1e1b4b, #2563eb);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.fallback-icon {
    font-size: 56px;
    color: #3b82f6;
    opacity: 0.8;
}

.modal-body {
    padding: 32px;
    text-align: center;
}

.modal-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(234, 179, 8, 0.15);
    border: 1px solid #eab308;
    color: #fde047;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.modal-body h2 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.modal-body p {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-requirements {
    background-color: rgba(11, 15, 25, 0.4);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 24px;
    text-align: left;
}

.modal-requirements h4 {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-requirements ul {
    list-style: none;
}

.modal-requirements li {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-requirements li:last-child {
    margin-bottom: 0;
}

.text-green {
    color: #4ade80;
}

.btn-modal-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #03860a;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 700;
    transition: background-color 0.2s;
    width: 100%;
}

.btn-modal-cta:hover {
    background-color: #2563eb;
}

/* ==========================================================================
   VOXE AI — telefon s chatem ve stylu iMessage (jako FiveM telefon)
   ========================================================================== */

/* Tlačítko pro otevření telefonu */
#voxe-bot-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #f39c12 0%, #d35400 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(211, 84, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 9999;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

#voxe-bot-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(211, 84, 0, 0.6);
}

/* Kontejner s telefonem – umístění na obrazovce */
#voxe-chat-window {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
    opacity: 1;
    transform: translateY(0) scale(1);
    transform-origin: bottom right;
}

#voxe-chat-window.hidden {
    opacity: 0;
    transform: translateY(30px) scale(0.92);
    pointer-events: none;
}

/* Tělo telefonu – černý rámeček jako fyzické zařízení */
.phone-frame {
    width: 320px;
    height: 660px;
    max-height: 82vh;
    background: linear-gradient(155deg, #1c1f26, #05060a);
    border-radius: 52px;
    padding: 12px;
    box-shadow:
        0 30px 60px -12px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 0 0 5px #05060a;
    position: relative;
}

/* Boční tlačítka telefonu, pro efekt reálného zařízení */
.phone-frame::before,
.phone-frame::after {
    content: '';
    position: absolute;
    left: -3px;
    width: 3px;
    background: #05060a;
    border-radius: 2px 0 0 2px;
}
.phone-frame::before { top: 110px; height: 55px; }
.phone-frame::after { top: 180px; height: 90px; }

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f5f5f7;
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Dynamic-island / notch nahoře */
.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: #05060a;
    border-radius: 14px;
    z-index: 30;
}

/* Status bar telefonu */
.phone-statusbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 26px 2px;
    font-size: 13px;
    font-weight: 700;
    color: #0b0f19;
    flex-shrink: 0;
}

.sb-icons {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

/* Hlavička konverzace ve stylu iMessage */
.imessage-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 16px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    flex-shrink: 0;
    background: rgba(245, 245, 247, 0.9);
}

.imsg-back {
    position: absolute;
    left: 10px;
    top: 4px;
    background: none;
    border: none;
    color: #007aff;
    font-size: 20px;
    padding: 6px;
    cursor: pointer;
}

.imsg-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f39c12 0%, #d35400 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 4px;
    box-shadow: 0 2px 6px rgba(211, 84, 0, 0.35);
}

.imsg-name {
    font-size: 13px;
    font-weight: 700;
    color: #0b0f19;
}

.imsg-sub {
    font-size: 11px;
    color: #8e8e93;
    margin-top: 1px;
}

/* Prostor pro zprávy */
.imsg-messages {
    flex: 1;
    padding: 14px 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #f5f5f7;
}

.imsg-messages::-webkit-scrollbar {
    width: 5px;
}
.imsg-messages::-webkit-scrollbar-track {
    background: transparent;
}
.imsg-messages::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}

.imsg-daystamp {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #8e8e93;
    margin: 4px 0 10px;
}

.imsg-row {
    display: flex;
    width: 100%;
}

.imsg-row.received { justify-content: flex-start; }
.imsg-row.sent { justify-content: flex-end; }

/* Bubliny zpráv – klasický iMessage vzhled */
.imsg-bubble {
    max-width: 76%;
    padding: 9px 14px;
    border-radius: 20px;
    font-size: 14.5px;
    line-height: 1.38;
    word-wrap: break-word;
}

.imsg-bubble.received {
    background: #e9e9eb;
    color: #0b0f19;
    border-bottom-left-radius: 6px;
}

.imsg-bubble.sent {
    background: linear-gradient(180deg, #0b93f6, #0079fb);
    color: #ffffff;
    border-bottom-right-radius: 6px;
}

.imsg-bubble a {
    color: inherit;
    text-decoration: underline;
}

/* Animace psaní – tři tečky jako v iMessage */
.imsg-typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
}

.imsg-typing .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9a9a9e;
    animation: imsg-bounce 1.2s infinite ease-in-out;
}

.imsg-typing .dot:nth-child(2) { animation-delay: 0.15s; }
.imsg-typing .dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes imsg-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-4px); opacity: 1; }
}

/* Spodní panel se vstupem, jako v iMessage */
.imsg-input-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(245, 245, 247, 0.95);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.imsg-plus {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #e5e5ea;
    color: #8e8e93;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.imsg-input-pill {
    flex: 1;
    background: #ffffff;
    border: 1px solid #d1d1d6;
    border-radius: 18px;
    padding: 2px 4px;
}

#chat-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 7px 10px;
    font-size: 14.5px;
    font-family: inherit;
    color: #0b0f19;
}

#chat-input::placeholder {
    color: #a0a0a5;
}

.imsg-send {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #0b93f6;
    color: #ffffff;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.15s, background 0.15s;
}

.imsg-send:hover {
    background: #0079fb;
    transform: scale(1.05);
}

/* Menší telefon na mobilních zařízeních */
@media (max-width: 420px) {
    #voxe-chat-window {
        right: 12px;
        bottom: 12px;
    }
    .phone-frame {
        width: 90vw;
        max-width: 320px;
        height: 78vh;
    }
}
/* Doplňky ke "VOXE AI" telefonu specifické pro domov.php (přesunuto z inline <style>) */
.dynamic-island {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 126px;
    height: 36px;
    background: #000;
    border-radius: 999px;
    z-index: 100;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.05),
        0 2px 8px rgba(0,0,0,.4);
}

.island-camera {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #1a1a1a;
    box-shadow:
        inset 0 0 3px rgba(255,255,255,.15),
        0 0 2px rgba(0,0,0,.8);
}

.phone-screen {
    position: relative;
}

#voxe-bot-btn.hidden {
    opacity: 0;
    transform: scale(.8);
    pointer-events: none;
}
