/* ==========================================
   COMPONENT LIBRARY
========================================== */

/* ===========================
   BUTTON
=========================== */

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:14px 28px;

    border:var(--border);

    border-radius:var(--radius-lg);

    font-size:16px;

    font-weight:700;

    transition:var(--transition);

    box-shadow:var(--shadow);

}

/* Hover */

.btn:hover{

    transform:translateY(-5px);

    box-shadow:var(--shadow-hover);

}

/* Primary */

.btn-primary{

    background:var(--primary);

    color:var(--white);

}

/* Secondary */

.btn-secondary{

    background:var(--secondary);

    color:var(--white);

}

/* Outline */

.btn-outline{

    background:var(--white);

    color:var(--dark);

}

/* ===========================
   BADGE
=========================== */

.badge{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:8px 16px;

    border:var(--border);

    border-radius:999px;

    font-size:14px;

    font-weight:700;

    box-shadow:var(--shadow);

}

.badge-primary{

    background:var(--primary);

    color:white;

}

.badge-warning{

    background:var(--accent);

    color:#111827;

}

.badge-danger{

    background:var(--danger);

    color:white;

}

/* ===========================
   CARD
=========================== */

.card{

    background:white;

    border:var(--border);

    border-radius:var(--radius-lg);

    box-shadow:var(--shadow);

    padding:24px;

    transition:var(--transition);

}

.card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-hover);

}

/* ===========================
   SECTION TITLE
=========================== */

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title h2{

    font-size:42px;

    font-weight:800;

    margin-bottom:14px;

}

.section-title p{

    color:var(--gray);

    font-size:18px;

}

/* ===========================
   FLEX UTILITIES
=========================== */

.flex{

    display:flex;

}

.flex-center{

    display:flex;

    justify-content:center;

    align-items:center;

}

.flex-between{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.grid{

    display:grid;

}

/* ==========================================
   PREMIUM GAME CARD
========================================== */

.game-card{

    position:relative;

    overflow:hidden;

    background:#fff;

    border:var(--border);

    border-radius:32px;

    box-shadow:var(--shadow);

    padding:28px;

    transition:.3s ease;

}

.game-card:hover{

    transform:translateY(-10px);

    box-shadow:var(--shadow-hover);

}

/* Badge */

.game-badge{

    position:absolute;

    top:18px;

    right:18px;

    background:var(--accent);

    color:#111827;

    padding:8px 16px;

    border:var(--border);

    border-radius:999px;

    font-size:14px;

    font-weight:700;

}

/* Icon */

.game-icon{

    width:90px;

    height:90px;

    border-radius:24px;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:42px;

    margin:40px auto 25px;

}

.game-title{

    text-align:center;

    font-size:24px;

    font-weight:800;

    margin-bottom:18px;

}

.game-rating{

    display:flex;

    justify-content:space-between;

    color:var(--gray);

    font-size:14px;

    margin-bottom:16px;

}

.game-price{

    font-size:18px;

    font-weight:700;

    margin-bottom:22px;

}

.game-card .btn{

    width:100%;

}

/* ==========================================
   SECTION HEADER
========================================== */

.section-header{

    max-width:720px;

    margin:0 auto var(--space-8);

    text-align:center;

}

.section-badge{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 22px;

    border:var(--border);

    border-radius:var(--radius-pill);

    background:var(--accent);

    box-shadow:var(--shadow);

    font-size:var(--small);

    font-weight:700;

    margin-bottom:var(--space-3);

}

.section-title{

    font-size:var(--h2);

    font-weight:800;

    margin-bottom:var(--space-3);

}

.section-description{

    color:var(--gray);

    font-size:var(--body);

    line-height:1.8;

}

/* ==========================================
   BASE CARD
========================================== */

.card{

    background:var(--white);

    border:var(--border);

    border-radius:var(--radius-xl);

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-lg);

}

/* ==========================================
   ICON BOX
========================================== */

.icon-box{

    width:84px;

    height:84px;

    display:flex;

    justify-content:center;

    align-items:center;

    border:var(--border);

    border-radius:24px;

    background:var(--white);

    box-shadow:var(--shadow);

}

.icon-box img{

    width:44px;

    height:44px;

}

/* ==========================================
   BADGE
========================================== */

.badge{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:8px 18px;

    border-radius:999px;

    font-size:13px;

    font-weight:700;

}

.badge-primary{

    background:var(--primary);

    color:white;

}

.badge-success{

    background:var(--secondary);

    color:white;

}

.badge-warning{

    background:var(--accent);

}

.btn{

    transition:var(--transition);

    cursor:pointer;

}

.btn:hover{

    transform:translateY(-4px);

}

.btn:active{

    transform:translateY(2px);

}