:root {
    --bg-base: #09090b;
    --panel-bg: rgba(24, 24, 27, 0.7);
    --panel-border: rgba(255, 255, 255, 0.12);
    --text-main: #f4f4f5;
    --text-muted: #a1a1aa;
    --accent-blue: #3b82f6;
    --accent-red: #ef4444;
}

a { text-decoration: none !important; color: inherit; }

body {
    margin: 0; padding: 0;
    background-color: var(--bg-base);
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(59, 130, 246, 0.25), transparent 60%),
        radial-gradient(circle at 85% 85%, rgba(239, 68, 68, 0.2), transparent 60%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
}

/* HORNÍ LIŠTA */
nav {
    width: 100%;
    background: rgba(15, 15, 18, 0.85);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--panel-border);
    display: flex; justify-content: center;
    position: sticky; top: 0; z-index: 100;
}
.nav-content {
    width: 100%; max-width: 1200px;
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 40px; box-sizing: border-box;
}

.nav-logo { font-size: 1.2rem; font-weight: 800; letter-spacing: 1px; color: var(--text-main); transition: opacity 0.2s ease; }
.nav-logo:hover { opacity: 0.8; }
.nav-right { display: flex; align-items: center; gap: 12px; }

.nav-btn {
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main); font-weight: 600; font-size: 0.9rem; padding: 8px 16px;
    border-radius: 8px; transition: all 0.2s ease;
}
.nav-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }

.icon-btn {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-red));
    border: none; color: #ffffff; font-family: 'Inter', sans-serif; font-weight: 600;
    padding: 8px 16px; border-radius: 8px; cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease; font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.icon-btn:hover { transform: translateY(-2px); filter: brightness(1.15); }

/* KONTAKTY OBAL */
.contact-container {
    width: 100%; max-width: 550px; 
    margin-left: 330px; 
    padding: 60px 0; box-sizing: border-box;
}

.contact-header { text-align: left; margin-bottom: 30px; }
.contact-header h1 { font-size: 3rem; margin: 0 0 10px 0; font-weight: 800; letter-spacing: -1px; }
.contact-header p { font-size: 1.1rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* KARTY A JEJICH ROZLOŽENÍ */
.cards-layout { display: flex; flex-direction: column; gap: 15px; width: 100%; }
.social-card {
    background: rgba(24, 24, 27, 0.4); backdrop-filter: blur(16px);
    border: 1px solid var(--panel-border); border-radius: 16px; padding: 20px 25px;
    transition: all 0.3s ease; display: flex; justify-content: space-between; align-items: center;
    cursor: pointer;
}
/* Pokud je to div (Steam), nechceme efekt posunu celé karty, ten necháme jen na tlačítkách uvnitř */
a.social-card:hover { transform: translateX(5px); background: rgba(24, 24, 27, 0.8); }

.sc-info { display: flex; flex-direction: column; gap: 4px; }
.sc-title { font-size: 1.1rem; font-weight: 800; color: #ffffff; transition: color 0.2s; }
.sc-value { color: var(--text-muted); font-weight: 600; font-size: 0.95rem; }

/* Text napravo (nápověda po najetí) */
.sc-action-text {
    font-size: 0.85rem; color: var(--text-muted); opacity: 0;
    transform: translateX(-10px); transition: all 0.3s ease;
}
.social-card:hover .sc-action-text { opacity: 1; transform: translateX(0); }

/* Skupina tlačítek u Steamu */
.sc-actions-group { display: flex; gap: 10px; }
.sc-btn {
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main); font-weight: 600; font-size: 0.85rem; padding: 8px 12px;
    border-radius: 8px; transition: all 0.2s ease; font-family: 'Inter', sans-serif; cursor: pointer;
}
.sc-btn:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-2px); }

/* Barvy po najetí */
.sc-discord:hover { border-color: #5865F2; box-shadow: 0 5px 20px -10px rgba(88, 101, 242, 0.4); }
.sc-discord:hover .sc-title { color: #5865F2; }

.sc-github:hover { border-color: #ffffff; box-shadow: 0 5px 20px -10px rgba(255, 255, 255, 0.2); }

.sc-steam:hover { border-color: #66c0f4; box-shadow: 0 5px 20px -10px rgba(102, 192, 244, 0.4); }
.sc-steam:hover .sc-title { color: #66c0f4; }

/* VYSKAKOVACÍ OKNO O ZKOPÍROVÁNÍ (TOAST) */
#toast {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px);
    background: rgba(59, 130, 246, 0.95); backdrop-filter: blur(8px);
    color: white; padding: 12px 24px; border-radius: 12px; font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5); opacity: 0; pointer-events: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); z-index: 1000;
}
#toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

@media (max-width: 900px) {
    .contact-container { margin-left: 20px; padding: 30px 20px; }
    .nav-content { padding: 15px 20px; flex-direction: column; gap: 15px; }
    .sc-actions-group { flex-direction: column; } /* Tlačítka na mobilu pod sebou */
}