body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
    background-color: #f8fafc;
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
}

.bg-navy-900 { background-color: #0a1628; }
.bg-navy-800 { background-color: #1a2a4a; }
.text-gold { color: #c9a84c; }
.bg-gold { background-color: #c9a84c; }
.border-gold { border-color: #c9a84c; }

.company-ranking-logo {
    display: block;
    width: auto;
    height: 2.25rem;
    cursor: pointer;
}

.company-ranking-footer-logo {
    display: block;
    width: auto;
    height: 3.5rem;
    max-width: 100%;
}

.hero-gradient {
    background: url('/static/company-rank/img/hero-bg.png?t=102312') center center / cover no-repeat;
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    background-image: radial-gradient(rgba(201, 168, 76, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.judge-rule-section {
    background: #020e29;
    position: relative;
    overflow: hidden;
}

.judge-rule-section::before {
    content: none;
}

.judge-rule-grid {
    display: grid;
    align-items: stretch;
}

.judge-rule-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    min-height: 23rem;
    padding: 1.25rem 1rem 0.5rem;
    position: relative;
}

.judge-rule-icon {
    width: 100%;
    max-width: 11.15rem;
    aspect-ratio: 1 / 1;
    background-image: url('/static/company-rank/img/judge-rule-bg.png?t=102312');
    background-repeat: no-repeat;
    background-size: 600% 100%;
    margin-bottom: 1.05rem;
    transform: scaleX(1.12);
    transform-origin: center;
}

.judge-rule-icon-1 { background-position: 0% 50%; }
.judge-rule-icon-2 { background-position: 20% 50%; }
.judge-rule-icon-3 { background-position: 40% 50%; }
.judge-rule-icon-4 { background-position: 60% 50%; }
.judge-rule-icon-5 { background-position: 80% 50%; }
.judge-rule-icon-6 { background-position: 100% 50%; }

.judge-rule-index {
    font-size: 1.7rem;
    line-height: 1;
    font-weight: 700;
    color: #d9b76e;
    letter-spacing: 0.12em;
    margin-bottom: 0.5rem;
}

.judge-rule-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.35;
    min-height: 3.35rem;
    margin-bottom: 0.4rem;
}

.judge-rule-subtitle {
    color: rgba(227, 203, 151, 0.72);
    font-size: 0.72rem;
    line-height: 1.25;
    letter-spacing: 0.18em;
    min-height: 1.7rem;
    margin-bottom: 0.95rem;
}

.judge-rule-desc {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
    line-height: 1.6;
    min-height: 3.3rem;
    max-width: 13rem;
}

.judge-rule-point-line {
    width: min(100%, 13.5rem);
    height: auto;
    display: block;
    margin-top: auto;
    padding-top: 1.05rem;
}

@media (min-width: 1024px) {
    .judge-rule-item {
        border-right: 0;
    }
}

@media (max-width: 1023px) {
    .judge-rule-item {
        min-height: 21rem;
    }
}

.timeline-line {
    position: relative;
}

.timeline-line::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: #e2e8f0;
    z-index: 0;
}

.timeline-item {
    position: relative;
    display: block;
    z-index: 1;
}

.timeline-dot {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: #c9a84c;
    border: 4px solid #fff;
    box-shadow: 0 10px 25px rgba(10, 22, 40, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-dot::before {
    content: '';
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    background: #fff;
}

.timeline-card {
    width: 100%;
    position: relative;
    z-index: 1;
}

.timeline-spacer {
    flex: 0 0 46%;
    width: 46%;
}

@media (min-width: 768px) {
    .timeline-item {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
        min-height: 6.25rem;
    }

    .timeline-card-left,
    .timeline-card-right {
        flex: 0 0 46%;
        width: 46%;
    }

    .timeline-card-right {
        margin-left: 0;
    }

    .timeline-card {
        flex: 0 0 46%;
        width: 46%;
    }

    .timeline-dot {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 767px) {
    .timeline-line::before {
        left: 18px;
    }

    .timeline-item {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .timeline-dot {
        position: relative;
        left: auto;
        top: 0.8rem;
        flex-shrink: 0;
        margin-top: 0.05rem;
    }

    .timeline-card {
        margin-top: 0;
    }
}

.timeline-line {
    position: relative;
}

.timeline-line::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: #e2e8f0;
    z-index: 0;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    z-index: 1;
}

.timeline-dot {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: #c9a84c;
    border: 4px solid #fff;
    box-shadow: 0 10px 25px rgba(10, 22, 40, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-dot::before {
    content: '';
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    background: #fff;
}

.timeline-card {
    width: 100%;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .timeline-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1.25rem;
        min-height: 6.25rem;
    }

    .timeline-card-left,
    .timeline-card-right {
        flex: 0 0 34%;
        width: 34%;
    }

    .timeline-card-right {
        margin-left: auto;
    }

    .timeline-card {
        flex: 0 0 34%;
        width: 34%;
    }

    .timeline-dot {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 767px) {
    .timeline-line::before {
        left: 18px;
    }

    .timeline-item {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .timeline-dot {
        position: relative;
        left: auto;
        top: 0.8rem;
        flex-shrink: 0;
        margin-top: 0.05rem;
    }

    .timeline-card {
        margin-top: 0;
    }
}

.timeline-line {
    position: relative;
}

.timeline-line::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: #e2e8f0;
    z-index: 0;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    z-index: 1;
}

.timeline-dot {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: #c9a84c;
    border: 4px solid #fff;
    box-shadow: 0 10px 25px rgba(10, 22, 40, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-dot::before {
    content: '';
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    background: #fff;
}

.timeline-card {
    width: 100%;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .timeline-item {
        align-items: center;
        justify-content: space-between;
        gap: 2.75rem;
        min-height: 7.5rem;
    }

    .timeline-card-left,
    .timeline-card-right {
        flex: 0 0 41.666667%;
        width: 41.666667%;
    }

    .timeline-card-right {
        margin-left: auto;
    }

    .timeline-card {
        width: 100%;
    }

    .timeline-dot {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .timeline-line::before {
        left: 18px;
    }

    .timeline-item {
        padding-left: 2.5rem;
    }

    .timeline-dot {
        position: absolute;
        left: 18px;
        top: 0.9rem;
    }
}
