:root {
    --primary-color: #1a5c96;
    --accent-color: #27ae60;
    --text-dark: #2c3e50;
    --bg-light: #f4f7f6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-light);
    margin: 0;
    padding: 20px;
    /* Защита от выделения */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.main-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    min-height: 90vh;
}

.container {
    width: 100%;
    max-width: 400px;
}

.card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    padding: 30px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Скрытый водяной знак, который вылезет при попытке "расковырять" код */
.card::before {
    content: "OFFICIAL KSMA VERIFIED";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 40px;
    color: rgba(0,0,0,0.02);
    pointer-events: none;
    white-space: nowrap;
}

.verify-badge {
    display: inline-block;
    background: #e8f5e9;
    color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.verify-badge.alt {
    background: #e3f2fd;
    color: var(--primary-color);
}

h1 {
    color: var(--text-dark);
    font-size: 1.6rem;
    line-height: 1.2;
    margin: 10px 0;
}

.role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1rem;
}

.organization {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.contact-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    background: #f8f9fa;
    padding: 12px;
    border-radius: 12px;
    transition: 0.3s;
    font-size: 0.9rem;
}

.contact-item.highlight {
    background: #fff4e5;
    border: 1px solid #ff980033;
}

.contact-item:hover {
    background: #edf2f7;
}

.contact-item i {
    color: var(--primary-color);
    margin-right: 15px;
    width: 20px;
}

.footer {
    border-top: 1px solid #eee;
    padding-top: 20px;
    font-size: 0.75rem;
    color: #bdc3c7;
}

.security-info {
    text-align: center;
    margin-top: 20px;
    font-family: monospace;
    font-size: 0.7rem;
    color: #ccc;
}

/* Скрытие элементов при печати, если нужно */
@media print {
    .security-info { color: black; }
}
