* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


body {
    background: #070707;
    color: #f5f5f5;
    font-family:
        "Segoe UI",
        "Noto Sans JP",
        sans-serif;

    min-height: 100vh;
}


a {
    color: inherit;
    text-decoration: none;
}


/* ========================================
   HEADER
======================================== */

.header {

    height: 76px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 6%;

    background: rgba(10, 10, 10, 0.92);

    border-bottom:
        1px solid #222;

    position: sticky;

    top: 0;

    z-index: 100;

    backdrop-filter: blur(15px);
}


.logo {

    font-size: 22px;

    font-weight: 800;

    letter-spacing: 2px;
}


.logo span {
    color: #f2d600;
}


.nav {

    display: flex;

    gap: 28px;

    overflow-x: auto;

    white-space: nowrap;
}


.nav a {

    color: #999;

    font-size: 14px;

    transition: 0.2s;
}


.nav a:hover,
.nav a.active {

    color: #fff;
}


/* ========================================
   HERO
======================================== */

.hero {

    min-height: 600px;

    display: flex;

    align-items: center;

    padding: 80px 8%;

    background:
        radial-gradient(
            circle at 75% 40%,
            rgba(255, 220, 0, 0.12),
            transparent 35%
        );
}


.hero-content {
    max-width: 700px;
}


.small-title {

    color: #888;

    letter-spacing: 5px;

    font-size: 12px;

    margin-bottom: 20px;
}


.hero h1 {

    font-size: clamp(80px, 15vw, 180px);

    line-height: 0.8;

    letter-spacing: -8px;

    margin-bottom: 35px;
}


.hero h1 span {
    color: #f2d600;
}


.hero p {

    color: #aaa;

    line-height: 1.8;

    margin-bottom: 30px;
}


.main-button {

    display: inline-block;

    padding: 15px 25px;

    background: #f2d600;

    color: #000;

    font-weight: bold;

    transition: 0.2s;
}


.main-button:hover {

    transform: translateY(-3px);

    box-shadow:
        0 10px 30px
        rgba(242, 214, 0, 0.2);
}


/* ========================================
   HOME CARDS
======================================== */

.home-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    padding: 50px 6%;
}


.info-card {

    background: #111;

    border: 1px solid #222;

    padding: 30px;

    min-height: 220px;

    transition: 0.25s;
}


.info-card:hover {

    border-color: #555;

    transform: translateY(-5px);
}


.card-icon {

    font-size: 30px;

    margin-bottom: 20px;
}


.info-card h2 {

    margin-bottom: 12px;

    font-size: 21px;
}


.info-card p {

    color: #888;

    line-height: 1.7;

    margin-bottom: 20px;
}


.info-card a {

    color: #f2d600;

    font-size: 14px;
}


/* ========================================
   PAGE
======================================== */

.page {

    max-width: 1200px;

    margin: auto;

    padding:
        80px 30px;
}


.page-title {

    margin-bottom: 60px;
}


.page-title p {

    color: #f2d600;

    letter-spacing: 4px;

    font-size: 12px;

    margin-bottom: 10px;
}


.page-title h1 {

    font-size: 52px;

    margin-bottom: 12px;
}


.page-title span {

    color: #666;

    letter-spacing: 2px;
}


/* ========================================
   CHARACTER
======================================== */

.character-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;
}


.character-card {

    background: #111;

    border: 1px solid #222;

    padding: 25px;

    transition: 0.2s;
}


.character-card:hover {

    border-color: #f2d600;

    transform: translateY(-4px);
}


.character-number {

    color: #555;

    font-size: 13px;

    margin-bottom: 15px;
}


.character-card h3 {

    font-size: 18px;
}


/* ========================================
   VOTE
======================================== */

.top-section {

    margin-bottom: 70px;
}


.top-section h2,
.vote-section h2 {

    margin-bottom: 25px;

    letter-spacing: 2px;
}


#top3 {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}


.top-card {

    background: #111;

    border: 1px solid #292929;

    padding: 30px;

    text-align: center;
}


.top-card.first {

    border-color: #f2d600;
}


.top-rank {

    font-size: 40px;

    font-weight: bold;

    color: #f2d600;

    margin-bottom: 15px;
}


.top-name {

    font-size: 19px;

    font-weight: bold;

    margin-bottom: 10px;
}


.top-votes {

    color: #777;
}


.vote-note {

    color: #777;

    margin-bottom: 20px;
}


.vote-card {

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: #111;

    border: 1px solid #222;

    padding: 18px 20px;

    margin-bottom: 8px;

    transition: 0.2s;
}


.vote-card:hover {

    border-color: #444;
}


.character-name {

    font-weight: 600;
}


.vote-right {

    display: flex;

    align-items: center;

    gap: 20px;
}


.vote-count {

    color: #888;
}


.vote-button {

    border: 0;

    background: #f2d600;

    color: #000;

    padding: 9px 18px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.2s;
}


.vote-button:hover {

    transform: scale(1.05);
}


.rank {

    display: flex;

    align-items: center;

    gap: 20px;

    padding: 15px;

    border-bottom: 1px solid #222;
}


.rank-number {

    color: #f2d600;

    font-weight: bold;

    width: 35px;
}


.rank-name {

    flex: 1;
}


.rank-votes {

    color: #888;
}


/* ========================================
   BIRTHDAY
======================================== */

.today-birthday {

    background:
        linear-gradient(
            135deg,
            #151515,
            #0c0c0c
        );

    border: 1px solid #333;

    padding: 35px;

    margin-bottom: 60px;
}


.today-birthday h2 {

    color: #f2d600;

    margin-bottom: 20px;
}


.today-name {

    font-size: 26px;

    font-weight: bold;
}


.section-heading {

    margin-bottom: 25px;
}


.birthday-item {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 18px 20px;

    border-bottom: 1px solid #222;
}


.birthday-date {

    color: #f2d600;

    font-weight: bold;
}


.birthday-name {

    font-weight: 600;
}


/* ========================================
   ABOUT
======================================== */

.about-card {

    background: #111;

    border: 1px solid #222;

    padding: 40px;

    max-width: 800px;
}


.about-card h2 {

    margin-bottom: 25px;
}


.about-card p {

    color: #999;

    line-height: 2;

    margin-bottom: 20px;
}


.warning-box {

    border-left:
        3px solid #f2d600;

    padding:
        15px 20px;

    background: #181818;

    margin-top: 30px;
}


.warning-box strong {

    color: #f2d600;
}


/* ========================================
   FOOTER
======================================== */

footer {

    text-align: center;

    padding: 50px 20px;

    color: #444;

    border-top: 1px solid #151515;

    margin-top: 80px;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 800px) {

    .header {

        height: auto;

        padding: 18px 20px;

        flex-direction: column;

        gap: 15px;

        align-items: flex-start;
    }


    .nav {

        width: 100%;

        gap: 20px;
    }


    .hero {

        min-height: 520px;

        padding: 60px 25px;
    }


    .hero h1 {

        font-size: 90px;

        letter-spacing: -5px;
    }


    .home-grid {

        grid-template-columns: 1fr;

        padding: 25px 20px;
    }


    .page {

        padding: 55px 20px;
    }


    .page-title h1 {

        font-size: 38px;
    }


    .character-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    #top3 {

        grid-template-columns: 1fr;
    }


    .vote-card {

        gap: 15px;

        align-items: flex-start;
    }


    .vote-right {

        gap: 10px;
    }


    .vote-count {

        font-size: 13px;
    }


    .vote-button {

        padding: 8px 12px;
    }

}


@media (max-width: 450px) {

    .character-grid {

        grid-template-columns: 1fr;
    }


    .hero h1 {

        font-size: 70px;
    }


    .vote-card {

        flex-direction: column;
    }


    .vote-right {

        width: 100%;

        justify-content: space-between;
    }

}