:root {
    --bg-primary: #f0f7ff;
    --bg-secondary: #e2f0fd;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(255, 255, 255, 0.98);
    --bg-glass-nav: rgba(240, 247, 255, 0.85);
    --bg-footer-black: #05070a;

    --border-subtle: rgba(0, 113, 227, 0.12);
    --border-highlight: rgba(0, 113, 227, 0.3);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;

    --accent-blue: #0071e3;
    --accent-blue-hover: #0077ed;
    --accent-cyan: #0284c7;
    --status-live: #16a34a;

    --font-main: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Montserrat", sans-serif;
    --transition-apple: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-card: 24px;
    --radius-pill: 980px;
    --shadow-soft: 0 12px 32px rgba(0, 113, 227, 0.08);
    --shadow-hover: 0 20px 45px rgba(0, 113, 227, 0.18);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    background: linear-gradient(180deg, #f0f7ff 0%, #e0f2fe 100%);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-apple);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    z-index: 1000;
    background: var(--bg-glass-nav);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.logo-container img {
    height: 28px;
    width: auto;
    transition: var(--transition-apple);
    filter: brightness(0);
}

.logo-container img:hover {
    opacity: 0.7;
}

#nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.2rem;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-blue);
    font-weight: 600;
}

.btn-contact {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    background: var(--accent-blue);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.25);
    letter-spacing: 0.03em;
}

.btn-contact:hover {
    transform: translateY(-2px);
    background: var(--accent-blue-hover);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.4);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger .bar {
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-apple);
}

.hero {
    width: 100vw;
    height: 100vh;
    max-width: none !important;
    margin: 0 !important;
    padding: 80px 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    background: linear-gradient(180deg, rgba(240, 247, 255, 0.15) 0%, rgba(224, 242, 254, 0.65) 100%), 
                url('Background.webp') center/cover no-repeat;
}

.big-logo-wrapper {
    margin-bottom: 2rem;
    animation: floatLogo 5s ease-in-out infinite;
}

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

.big-logo-wrapper img {
    max-width: 340px;
    height: auto;
    filter: drop-shadow(0 12px 24px rgba(0, 113, 227, 0.2));
}

.btn-cta {
    display: inline-block;
    background: var(--accent-blue);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 36px;
    border-radius: var(--radius-pill);
    box-shadow: 0 6px 25px rgba(0, 113, 227, 0.35);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.btn-cta:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.5);
    background: var(--accent-blue-hover);
}

.subtitle-bold {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.subtitle-regular {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 650px;
}

.page-section {
    padding: 100px 20px 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.spotlight-section {
    background: rgba(226, 240, 253, 0.7);
    border-radius: 32px;
    padding: 60px 40px;
    margin-bottom: 80px;
    border: 1px solid var(--border-highlight);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px);
}

.spotlight-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.spotlight-title {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    text-transform: uppercase;
}

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(22, 163, 74, 0.12);
    border: 1px solid rgba(22, 163, 74, 0.3);
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    margin-bottom: 2.2rem;
}

.badge-status span {
    color: var(--status-live);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.badge-status::before {
    content: "";
    width: 8px;
    height: 8px;
    background-color: var(--status-live);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--status-live);
}

.competition-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(15px);
}

.idcc-logo-col img {
    width: 140px;
    height: auto;
    border-radius: 18px;
    filter: brightness(0);
    box-shadow: 0 6px 18px rgba(0, 113, 227, 0.12);
}

.idcc-intro-col h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.description-full {
    max-width: 780px;
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.edition-subtext {
    font-size: 0.92rem;
    color: var(--text-tertiary);
    margin-bottom: 2.2rem;
}

.btn-register {
    display: inline-block;
    background: var(--text-primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 16px 38px;
    border-radius: var(--radius-pill);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.2);
    letter-spacing: 0.02em;
}

.btn-register:hover {
    background: #1e293b;
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.3);
}

.competitions-title,
.about-title {
    font-size: 2.8rem;
    text-align: center;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.competitions-subtitle,
.about-tagline {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3.5rem;
    color: var(--text-secondary);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 3.5rem;
}

.comp-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(15px);
    transition: var(--transition-apple);
}

.comp-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: var(--border-highlight);
    box-shadow: var(--shadow-hover);
}

.comp-card h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.card-divider {
    width: 44px;
    height: 2px;
    background: var(--accent-blue);
    margin-bottom: 24px;
    border-radius: 2px;
}

.comp-logo-wrapper img {
    height: 75px;
    width: auto;
    margin-bottom: 20px;
    object-fit: contain;
    filter: brightness(0);
    opacity: 0.88;
    transition: var(--transition-apple);
}

.comp-card:hover .comp-logo-wrapper img {
    opacity: 1;
    transform: scale(1.05);
}

.comp-date {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
}

.comp-announcement {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.btn-card-register {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-blue);
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--accent-blue);
    background: rgba(0, 113, 227, 0.05);
}

.btn-card-register:hover {
    background: var(--accent-blue);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
}

.comp-info-heading {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--accent-cyan);
    margin-top: 12px;
}

.comp-info-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.archived-banner {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(15px);
}

.archived-banner .card-divider {
    margin: 12px auto 16px;
}

.about-main-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(15px);
}

.kxp-logo-col img {
    width: 130px;
    height: auto;
    filter: brightness(0);
}

.about-intro-col h2 {
    font-size: 1.7rem;
    margin-bottom: 0.75rem;
}

.pillars-block {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(15px);
}

.pillars-block h3 {
    font-size: 1.35rem;
    margin-bottom: 1.2rem;
}

.pillars-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.pillars-list li {
    color: var(--text-secondary);
    font-size: 1rem;
}

.pillars-list strong {
    color: var(--text-primary);
}

.site-footer {
    background: var(--bg-footer-black);
    color: #ffffff;
    padding: 70px 20px 40px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 32px;
    margin-bottom: 1.2rem;
    filter: none;
}

.footer-description {
    font-size: 0.92rem;
    color: #94a3b8;
    max-width: 340px;
}

.footer-heading {
    font-size: 0.85rem;
    color: #ffffff;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.footer-links, .contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a, .contact-list a {
    font-size: 0.92rem;
    color: #94a3b8;
}

.footer-links a:hover, .contact-list a:hover {
    color: var(--accent-blue);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
}

.contact-list i {
    color: var(--accent-blue);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    width: 100%;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    z-index: 900;
}

.scroll-to-top:hover {
    background: var(--accent-blue);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 113, 227, 0.4);
}