:root {
    --color-text-heading: #1e293b;
    --color-text-body: #334155;
    --color-text-secondary: #475569;
    --color-text-muted: #64748b;
    --color-text-light: #94a3b8;
    --color-text-white: #ffffff;
    --color-text-white-70: rgba(255, 255, 255, 0.7);
    --color-text-gray-dark: #374151;
    --color-text-gray: #6b7280;
    --color-text-gray-light: #9ca3af;

    --color-status-success: #16a34a;
    --color-status-error: #dc2626;
    --color-status-warning: #d97706;
    --color-status-warning-dark: #b45309;
    --color-status-warning-darker: #92400e;

    --color-brand: #9333ea;
    --color-brand-hover: #7c3aed;
    --color-brand-light: #a855f7;
    --color-brand-bg: #f5f3ff;
    --color-brand-border: #ede9fe;
    --color-brand-pink: #ec4899;
    --color-brand-orange: #f97316;

    --color-bg-page: #f8fafc;
    --color-bg-card: #ffffff;
    --color-bg-muted: #f1f5f9;
    --color-bg-hover: #f8fafc;

    --color-border: #e2e8f0;
    --color-border-light: rgba(0, 0, 0, 0.06);

    --color-bronze: #0891b2;
    --color-bronze-bg: #ecfeff;
    --color-bronze-border: #a5f3fc;
    --color-silver: #6366f1;
    --color-silver-bg: #eef2ff;
    --color-silver-border: #c7d2fe;
    --color-gold: #d97706;
    --color-gold-bg: #fffbeb;
    --color-gold-border: #fde68a;

    --font-family: 'Noto Sans HK', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;

    --text-xs: 0.75rem;
    --text-sm: 0.8rem;
    --text-base: 0.875rem;
    --text-md: 0.95rem;
    --text-lg: 1rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.2rem;

    --leading-tight: 1.4;
    --leading-normal: 1.5;
    --leading-relaxed: 1.6;
    --leading-loose: 1.8;

    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 99px;

    --shadow-sm: 0 1px 6px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);

    --container-max: 1280px;

    --gradient-brand: linear-gradient(135deg, #9333ea 0%, #ec4899 50%, #f97316 100%);
    --gradient-brand-hover: linear-gradient(135deg, #7c3aed 0%, #e11d48 50%, #ea580c 100%);
    --gradient-purple: linear-gradient(135deg, #6c3ce0, #7c3aed, #a855f7);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--text-md);
    line-height: var(--leading-normal);
    color: var(--color-text-body);
    background-color: var(--color-bg-page);
}

@media (max-width: 768px) {
    body {
        font-size: var(--text-base);
    }
}

h1 {
    font-size: var(--text-5xl);
    color: var(--color-text-heading);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
}

h2 {
    font-size: var(--text-4xl);
    color: var(--color-text-heading);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
}

h3 {
    font-size: var(--text-2xl);
    color: var(--color-text-heading);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
}

h4 {
    font-size: var(--text-xl);
    color: var(--color-text-heading);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
}

h5 {
    font-size: var(--text-lg);
    color: var(--color-text-heading);
    font-weight: var(--font-semibold);
    line-height: var(--leading-tight);
}

h6 {
    font-size: var(--text-md);
    color: var(--color-text-heading);
    font-weight: var(--font-semibold);
    line-height: var(--leading-tight);
}

p {
    font-size: var(--text-md);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--text-lg);
    color: var(--color-text-body);
}

small {
    font-size: var(--text-sm);
}

ul, ol {
    padding-left: 1.25rem;
    color: var(--color-text-secondary);
}

li {
    font-size: var(--text-md);
    margin-bottom: 0.25rem;
    line-height: var(--leading-relaxed);
}

a {
    color: var(--color-brand);
    text-decoration: none;
}

a:hover {
    font-weight: var(--font-bold);
}

@media (max-width: 992px) {
    h1 { font-size: var(--text-4xl); }
    h2 { font-size: var(--text-3xl); }
    h3 { font-size: var(--text-xl); }
}

@media (max-width: 768px) {
    h1 { font-size: var(--text-3xl); }
    h2 { font-size: var(--text-2xl); }
    body { font-size: var(--text-base); }
    p { font-size: var(--text-base); }
    li { font-size: var(--text-base); }
}

.text-xs { font-size: var(--text-xs) !important; }
.text-sm { font-size: var(--text-sm) !important; }
.text-base { font-size: var(--text-base) !important; }
.text-md { font-size: var(--text-md) !important; }
.text-lg { font-size: var(--text-lg) !important; }
.text-xl { font-size: var(--text-xl) !important; }
.text-2xl { font-size: var(--text-2xl) !important; }
.text-3xl { font-size: var(--text-3xl) !important; }
.text-4xl { font-size: var(--text-4xl) !important; }
.text-5xl { font-size: var(--text-5xl) !important; }

.text-white { color: var(--color-text-white) !important; }

.font-bold { font-weight: var(--font-bold); }

/* ===== Award Cards Section ===== */
.cards-section {
    margin: 32px 0 40px;
}

.cards-header {
    text-align: left;
    margin-bottom: 28px;
}

.cards-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.cards-underline {
    height: 6px;
    width: 64px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #9333ea 0%, #ec4899 50%, #f97316 100%);
    margin: 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.medal-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.medal-card:hover {
    transform: translateY(-6px);
    text-decoration: none;
    font-weight: 300;
    color: inherit;
}

.medal-card--bronze:hover {
    box-shadow: 0 10px 28px rgba(6, 182, 212, 0.25);
}

.medal-card--silver:hover {
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.25);
}

.medal-card--gold:hover {
    box-shadow: 0 10px 28px rgba(245, 158, 11, 0.3);
}

.medal-card-band {
    height: 11rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.medal-card--bronze .medal-card-band {
    background: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
}

.medal-card--silver .medal-card-band {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.medal-card--gold .medal-card-band {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

.medal-card-img {
    width: 96px;
    height: 96px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}

.medal-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.medal-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.medal-card-tag {
    display: inline-flex;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #475569;
    padding: 4px 12px;
}

.medal-card-link {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    transition: gap 0.2s ease;
}

.medal-card:hover .medal-card-link {
    gap: 8px;
}

.medal-card-link--bronze { color: #0891b2; }
.medal-card-link--silver { color: #6366f1; }
.medal-card-link--gold   { color: #d97706; }

@media (max-width: 767px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
