/* ============================================
   AI Kiberhavfsizlik Hakatoni
   ShHT 2026 — CyberShield Network
   ============================================ */

.hakaton-page {
    --comp-primary: #00d4ff;
    --comp-secondary: #7c3aed;
    --comp-accent: #3b82f6;
    --comp-success: #10b981;
    --comp-danger: #ef4444;
    --comp-warning: #f59e0b;
    --comp-dark: #1e1b4b;

    --comp-gradient: linear-gradient(135deg, #00d4ff, #7c3aed);
    --comp-gradient-cyber: linear-gradient(135deg, #00d4ff, #3b82f6, #7c3aed);
}

/* ============ Loading ============ */
.hk-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hk-loader-svg {
    animation: hkPulse 2.5s ease-in-out infinite;
}

@keyframes hkPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.2)); }
    50% { transform: scale(1.04); filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.5)); }
}

/* ============ Hero ============ */
.hakaton-hero {
    min-height: auto;
    padding: max(90px, 12vh) 0 60px;
}

.hakaton-page .orb-1 {
    background: radial-gradient(circle, rgba(0, 212, 255, 0.25), transparent 70%) !important;
}

.hakaton-page .orb-2 {
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2), transparent 70%) !important;
}

.hakaton-page .orb-3 {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%) !important;
}

.hakaton-hero .container {
    display: block;
}

.hakaton-hero .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hakaton-hero .hero-content {
    text-align: left;
    align-items: flex-start;
}

.hakaton-hero .hero-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.badge-sht {
    padding: 5px 14px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(124, 58, 237, 0.08));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    font-family: 'Orbitron', monospace;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #00d4ff;
    text-transform: uppercase;
}

.badge-xalqaro {
    padding: 5px 14px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(59, 130, 246, 0.08));
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 20px;
    font-family: 'Orbitron', monospace;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #7c3aed;
    text-transform: uppercase;
}

.hakaton-hero .hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 12px;
    line-height: 1.2;
}

.hakaton-hero .hero-subtitle {
    max-width: 480px;
    margin: 0 0 28px;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.hakaton-hero .hero-mini-stats {
    display: flex;
    gap: 0;
    margin-bottom: 28px;
}

.hakaton-hero .hero-mini-stat {
    text-align: center;
    padding: 12px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.hakaton-hero .hero-mini-stat:last-child {
    border-right: none;
}

.hakaton-hero .mini-val {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--comp-primary);
}

.hakaton-hero .mini-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hakaton-hero .hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hakaton-hero .hero-actions .btn-primary {
    background: var(--comp-gradient);
    border: none;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
}

.hakaton-hero .hero-actions .btn-primary:hover {
    box-shadow: 0 6px 30px rgba(0, 212, 255, 0.35);
    transform: translateY(-2px);
}

/* Hero Visual / Illustration */
.hakaton-hero .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hk-hero-illustration {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 520 / 580;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hk-hero-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.08));
    animation: hkFloat 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes hkFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Rotating Rings */
.hk-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid transparent;
    pointer-events: none;
}

.hk-ring-outer {
    width: 105%;
    height: 105%;
    top: -2.5%;
    left: -2.5%;
    border-color: rgba(0, 212, 255, 0.08);
    border-top-color: rgba(0, 212, 255, 0.35);
    border-right-color: rgba(124, 58, 237, 0.2);
    animation: hkSpin 20s linear infinite;
}

.hk-ring-middle {
    width: 95%;
    height: 95%;
    top: 2.5%;
    left: 2.5%;
    border-color: rgba(124, 58, 237, 0.06);
    border-bottom-color: rgba(124, 58, 237, 0.3);
    border-left-color: rgba(59, 130, 246, 0.15);
    animation: hkSpin 15s linear infinite reverse;
}

.hk-ring-inner {
    width: 85%;
    height: 85%;
    top: 7.5%;
    left: 7.5%;
    border-color: rgba(59, 130, 246, 0.04);
    border-top-color: rgba(59, 130, 246, 0.25);
    animation: hkSpin 12s linear infinite;
}

@keyframes hkSpin {
    to { transform: rotate(360deg); }
}

/* Floating Nodes */
.hk-node {
    position: absolute;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: hkNodeFloat 4s ease-in-out infinite;
}

.hk-node span {
    font-family: 'Orbitron', monospace;
    font-size: 0.55rem;
    font-weight: 700;
    color: #00d4ff;
    letter-spacing: 0.5px;
}

.hk-node-1 {
    top: 5%;
    left: 10%;
    animation-delay: 0s;
    border-color: rgba(0, 212, 255, 0.25);
}

.hk-node-2 {
    top: 8%;
    right: 8%;
    animation-delay: 0.6s;
    background: rgba(124, 58, 237, 0.06);
    border-color: rgba(124, 58, 237, 0.25);
}

.hk-node-2 span { color: #7c3aed; }

.hk-node-3 {
    top: 38%;
    right: -2%;
    animation-delay: 1.2s;
    background: rgba(59, 130, 246, 0.06);
    border-color: rgba(59, 130, 246, 0.25);
}

.hk-node-3 span { color: #3b82f6; }

.hk-node-4 {
    bottom: 32%;
    left: -2%;
    animation-delay: 0.8s;
    border-color: rgba(0, 212, 255, 0.2);
}

.hk-node-5 {
    bottom: 10%;
    left: 8%;
    animation-delay: 1.5s;
    background: rgba(124, 58, 237, 0.06);
    border-color: rgba(124, 58, 237, 0.2);
}

.hk-node-5 span { color: #7c3aed; }

.hk-node-6 {
    bottom: 8%;
    right: 10%;
    animation-delay: 0.3s;
    background: rgba(59, 130, 246, 0.06);
    border-color: rgba(59, 130, 246, 0.2);
}

.hk-node-6 span { color: #3b82f6; }

@keyframes hkNodeFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.05); }
}

/* Pulse Rings */
.hk-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 255, 0.15);
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    pointer-events: none;
    animation: hkPulseRing 4s ease-out infinite;
}

.hk-pulse-2 {
    animation-delay: 1.3s;
    border-color: rgba(124, 58, 237, 0.15);
}

.hk-pulse-3 {
    animation-delay: 2.6s;
    border-color: rgba(59, 130, 246, 0.12);
}

@keyframes hkPulseRing {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.6);
        opacity: 0;
    }
}

/* ============ Overview ============ */
.hakaton-overview .overview-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.hakaton-overview .overview-main {
    padding: 32px;
    background: var(--comp-bg-card);
    border: 1px solid var(--comp-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
}

.hakaton-overview .overview-main h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--comp-primary);
}

.hakaton-overview .overview-main > p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 0;
}

.hakaton-overview .overview-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hk-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 24px !important;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.hk-info-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 212, 255, 0.25) !important;
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.06) !important;
}

.hk-info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(0, 212, 255, 0.04));
    border: 1px solid rgba(0, 212, 255, 0.15);
    color: #00d4ff;
}

.hk-info-icon-purple {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(124, 58, 237, 0.04));
    border-color: rgba(124, 58, 237, 0.15);
    color: #7c3aed;
}

.hk-info-icon-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0.04));
    border-color: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.hk-info-content {
    flex: 1;
    min-width: 0;
}

.hk-info-content h4 {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 6px 0;
}

.hk-info-value {
    font-family: 'Orbitron', monospace;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.3;
}

.hk-info-desc {
    font-size: 0.8rem;
    color: var(--text-secondary) !important;
    margin: 0 !important;
    line-height: 1.4;
}

.hk-goals-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}

.hk-goals-list li {
    padding: 10px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hk-goals-list li:last-child { border-bottom: none; }

.hk-goals-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--comp-gradient);
}

/* ============ Requirements / Goal Cards ============ */
.hakaton-page .goals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.hakaton-page .goal-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 24px 30px;
    gap: 0;
}

.hakaton-page .goal-icon {
    position: relative;
    top: auto;
    right: auto;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(124, 58, 237, 0.06));
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.hakaton-page .goal-icon svg {
    width: 30px;
    height: 30px;
}

.hakaton-page .goal-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.hakaton-page .goal-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ============ Stage Timeline ============ */
.hakaton-page .stages-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.hakaton-page .stage-item {
    display: flex;
    gap: 28px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.hakaton-page .stage-item:last-child {
    margin-bottom: 0;
}

.hakaton-page .stage-marker {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(124, 58, 237, 0.06));
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.hakaton-page .stage-marker svg {
    width: 24px;
    height: 24px;
    stroke: var(--comp-primary);
}

.hakaton-page .stage-content {
    flex: 1;
}

.hakaton-page .stage-content .stage-badge {
    display: inline-block;
    padding: 4px 14px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(124, 58, 237, 0.08));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    font-family: 'Orbitron', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--comp-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.hakaton-page .stage-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.hakaton-page .stage-content > p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
}

.stage-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stage-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(0, 212, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.08);
    border-radius: 10px;
    font-size: 0.84rem;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.stage-detail-item:hover {
    background: rgba(0, 212, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.15);
}

.stage-detail-item i {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(0, 212, 255, 0.08);
    color: var(--comp-primary);
    font-size: 0.72rem;
}

/* ============ Section Badges Override ============ */
.hakaton-page .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(124, 58, 237, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 24px;
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--comp-primary);
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.hakaton-page .section-badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.hakaton-page .section-title {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 12px;
}

.hakaton-page .section-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============ Tech Section ============ */
.hakaton-tech .tech-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.hakaton-tech .tech-card {
    text-align: center;
    padding: 28px 16px;
}

.hakaton-tech .tech-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 14px;
}

.hakaton-tech .tech-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--comp-primary);
}

.hakaton-tech .tech-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.hakaton-tech .tech-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Prohibited section */
.hk-prohibited {
    max-width: 800px;
    margin: 0 auto;
    padding: 28px 32px;
    background: rgba(239, 68, 68, 0.04);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 16px;
}

.hk-prohibited h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--comp-danger);
    margin-bottom: 16px;
}

.hk-prohibited-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.hk-prohibited-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.03);
}

.hk-prohibited-item i {
    color: var(--comp-danger);
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* ============ Scoring ============ */
.hk-scoring-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.hk-score-card {
    text-align: center;
    padding: 32px 18px;
    transition: all 0.3s ease;
}

.hk-score-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.2);
}

.hk-score-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 16px;
}

.hk-score-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--comp-primary);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hk-score-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.hk-score-card p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.4;
}

.hk-score-bar {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 12px;
}

.hk-score-fill {
    height: 100%;
    background: var(--comp-gradient);
    border-radius: 3px;
    width: var(--score-width);
}

.hk-score-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--comp-primary);
}

.hk-total-card {
    max-width: 300px;
    margin: 0 auto;
    padding: 20px 40px;
    text-align: center;
    background: rgba(0, 212, 255, 0.04);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hk-total-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.hk-total-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    background: var(--comp-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hk-total-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============ Prizes ============ */
.hk-prizes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}

.hk-prize-card {
    text-align: center;
    padding: 40px 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hk-prize-card:hover {
    transform: translateY(-6px);
}

.hk-prize-gold {
    border-color: rgba(255, 215, 0, 0.25);
}

.hk-prize-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.08), transparent 70%);
    pointer-events: none;
}

.hk-prize-silver {
    border-color: rgba(192, 192, 192, 0.25);
}

.hk-prize-silver::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(192, 192, 192, 0.06), transparent 70%);
    pointer-events: none;
}

.hk-prize-bronze {
    border-color: rgba(205, 127, 50, 0.25);
}

.hk-prize-bronze::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(205, 127, 50, 0.06), transparent 70%);
    pointer-events: none;
}

.hk-prize-rank {
    margin-bottom: 20px;
}

.hk-prize-icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hk-prize-icon-wrap svg {
    width: 48px;
    height: 48px;
}

.hk-prize-place {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
}

.hk-prize-gold .hk-prize-place { color: #FFD700; }
.hk-prize-silver .hk-prize-place { color: #C0C0C0; }
.hk-prize-bronze .hk-prize-place { color: #CD7F32; }

.hk-prize-device {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.hk-prize-device svg {
    width: 44px;
    height: 44px;
    stroke-width: 1.5;
}

.hk-prize-gold .hk-prize-device svg { stroke: #FFD700; }
.hk-prize-silver .hk-prize-device svg { stroke: #C0C0C0; }
.hk-prize-bronze .hk-prize-device svg { stroke: #CD7F32; }

.hk-prize-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.hk-prize-card > p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ============ Rules ============ */
.hk-rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}

.hk-rules-col {
    padding: 32px;
}

.hk-rules-col h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    margin-bottom: 20px;
}

.hk-rules-allowed h3 { color: var(--comp-success); }
.hk-rules-forbidden h3 { color: var(--comp-danger); }

.hk-rules-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hk-rules-col ul li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.5;
}

.hk-rules-col ul li:last-child { border-bottom: none; }

.hk-rules-allowed ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--comp-success);
    font-size: 0.8rem;
}

.hk-rules-forbidden ul li::before {
    content: '\f057';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--comp-danger);
    font-size: 0.8rem;
}

/* ============ Judges ============ */
.hk-judges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.hk-judge-card {
    text-align: center;
    padding: 36px 20px;
    transition: all 0.3s ease;
}

.hk-judge-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.15);
}

.hk-judge-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.12);
    border-radius: 50%;
    font-size: 1.4rem;
    color: var(--comp-primary);
}

.hk-judge-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.hk-judge-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============ CTA ============ */
.hakaton-cta {
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.hakaton-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.06), transparent 70%);
    pointer-events: none;
}

.hakaton-cta h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--comp-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hakaton-cta > .container > p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hk-cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.btn-cyber {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--comp-gradient);
    color: #0a0e17;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
}

.btn-cyber:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.35);
    color: #0a0e17;
}

.btn-cyber-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    color: var(--comp-primary);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cyber-ghost:hover {
    border-color: var(--comp-primary);
    background: rgba(0, 212, 255, 0.05);
    transform: translateY(-3px);
    color: var(--comp-primary);
}

/* Contacts */
.hk-contacts {
    display: flex;
    gap: 48px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hk-contact-item {
    text-align: center;
}

.hk-contact-item strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.hk-contact-item a {
    display: block;
    color: var(--comp-primary);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s;
}

.hk-contact-item a:hover {
    color: #7c3aed;
}

/* CTA Tags */
.hk-cta-tags {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.hk-cta-tags span {
    padding: 6px 18px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--comp-primary);
    border: 1px solid rgba(0, 212, 255, 0.2);
    letter-spacing: 0.5px;
}

/* ============ Responsive ============ */
@media (max-width: 1200px) {
    .hk-scoring-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .hakaton-tech .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hakaton-hero .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hakaton-hero .hero-content {
        text-align: center;
        align-items: center;
    }
    .hakaton-hero .hero-badges {
        justify-content: center;
    }
    .hakaton-hero .hero-actions {
        justify-content: center;
    }
    .hakaton-hero .hero-mini-stats {
        justify-content: center;
    }
    .hk-hero-illustration {
        max-width: 400px;
        margin: 0 auto;
    }
    .hk-node {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
    .hk-node span {
        font-size: 0.5rem;
    }
    .hakaton-page .goals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hakaton-page .stage-item {
        gap: 20px;
    }
    .hakaton-page .stage-marker {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }
    .hakaton-overview .overview-grid {
        grid-template-columns: 1fr;
    }
    .hakaton-overview .overview-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .hakaton-overview .overview-sidebar .card-glass {
        flex: 1;
        min-width: 200px;
    }
    .hk-scoring-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hk-prizes-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
    }
    .hk-judges-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .hakaton-tech .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hk-hero-illustration {
        max-width: 340px;
    }
    .hk-node {
        width: 32px;
        height: 32px;
    }
    .hk-node span {
        font-size: 0.45rem;
    }
    .hk-ring-outer,
    .hk-ring-middle,
    .hk-ring-inner {
        display: none;
    }
    .hakaton-hero .hero-mini-stats {
        flex-wrap: wrap;
    }

    .hakaton-hero .hero-mini-stat {
        padding: 10px 16px;
    }

    .hakaton-hero .mini-val {
        font-size: 1rem;
    }

    .hakaton-page .goals-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    .hakaton-page .stage-item {
        flex-direction: column;
        gap: 16px;
    }
    .hakaton-page .stage-marker {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }
    .hakaton-overview .overview-sidebar {
        flex-direction: column;
    }
    .hakaton-overview .overview-sidebar .hk-info-card {
        min-width: 0;
    }
    .hakaton-overview .overview-main {
        padding: 24px;
    }

    .hk-rules-grid {
        grid-template-columns: 1fr;
    }

    .hk-prohibited-grid {
        grid-template-columns: 1fr;
    }

    .hk-scoring-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hakaton-cta {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hk-hero-illustration {
        max-width: 280px;
    }
    .hk-node {
        display: none;
    }
    .hk-pulse {
        display: none;
    }
    .hk-scoring-grid {
        grid-template-columns: 1fr;
    }
    .hakaton-tech .tech-grid {
        grid-template-columns: 1fr;
    }
}
