/*
Theme Name: OpstarDos
*/
.pt-0 {
    padding-top: 0 !important;
}

:root {
    /* Colors */
    --color-primary: #2563eb;
    --color-primary-dark: #1e40af;
    --color-secondary: #64748b;
    --color-accent: #3b82f6;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;

    /* Background Colors */
    --color-bg-primary: #f5f5f5;
    --color-bg-secondary: #f8fafc;
    --color-bg-tertiary: #f1f5f9;
    --color-bg-card: rgba(255, 255, 255, 0.9);
    --color-bg-overlay: rgba(15, 23, 42, 0.5);

    /* Text Colors */
    --color-text-primary: #0f172a;
    --color-text-secondary: #475569;
    --color-text-muted: #94a3b8;
    --color-text-inverse: #ffffff;

    /* Border Colors */
    --color-border: #e2e8f0;
    --color-border-light: #cbd5e1;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #0ea5e9 100%);
    --gradient-secondary: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    --gradient-hero: linear-gradient(135deg, #ffffff 0%, #f0f7ff 50%, #eff6ff 100%);

    /* Spacing */
    --spacing-xs: 0.25rem;
    /* 4px */
    --spacing-sm: 0.5rem;
    /* 8px */
    --spacing-md: 1rem;
    /* 16px */
    --spacing-lg: 1.5rem;
    /* 24px */
    --spacing-xl: 2rem;
    /* 32px */
    --spacing-2xl: 3rem;
    /* 48px */
    --spacing-3xl: 4rem;
    /* 64px */
    --spacing-4xl: 6rem;
    /* 96px */

    /* Typography */
    --font-family-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-family-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;

    --font-size-xs: 0.75rem;
    /* 12px */
    --font-size-sm: 0.875rem;
    /* 14px */
    --font-size-base: 1rem;
    /* 16px */
    --font-size-lg: 1.125rem;
    /* 18px */
    --font-size-xl: 1.25rem;
    /* 20px */
    --font-size-2xl: 1.5rem;
    /* 24px */
    --font-size-3xl: 1.875rem;
    /* 30px */
    --font-size-4xl: 2.25rem;
    /* 36px */
    --font-size-5xl: 3rem;
    /* 48px */
    --font-size-6xl: 3.75rem;
    /* 60px */

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;

    /* Borders & Radius */
    --border-radius-sm: 0.375rem;
    /* 6px */
    --border-radius-md: 0.5rem;
    /* 8px */
    --border-radius-lg: 0.75rem;
    /* 12px */
    --border-radius-xl: 1rem;
    /* 16px */
    --border-radius-2xl: 1.5rem;
    /* 24px */
    --border-radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;

    /* Z-Index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;

    /* Container Widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1536px;
}

/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
/* CSS Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #fafafa;
    color: #333;
}


.cta-btn {
    background: #ffc107;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.hero {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    background-image: 
        linear-gradient(to top, rgba(255, 255, 255, 1.9), rgba(255, 255, 255, 0)),
        url('https://bucket-opadmin-01.sgp1.cdn.digitaloceanspaces.com/opstardos/images/hero-opstar.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 40px;
    text-align: center;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}
.hero h5 {
    background-color: #ca7f1d60;
    border: 1px solid rgb(255, 174, 0);
    padding: 5px 10px;
    border-radius: 14px;
    color: white;
    font-weight: 100;
}

.hero .highlight {
    color: #ffc107;
}

.hero p {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.hero .btn {
    background: #ffc107;
    color: #333;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}
.view-btn{
    background: #ffc107;
    color: white;
    border: none;
    padding: 8px 16px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    text-decoration: none;
}
.feature-btn{
    background: #ffc107;
    color: white;
    border: none;
    padding: 8px 16px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    text-decoration: none;
}
.section {
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-4px);
}

.card-image {
    width: 100%;
    height: 250px;
}

.card-content {
    padding: 16px;
}

.card-title {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 16px;
}

.card-desc {
    font-size: 12px;
    color: #999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to right, #fff9e6, #fef3c7);
    border-radius: 16px;
    padding: 40px 60px;
    margin: 40px auto;
    max-width: 1300px;
}

.cta-section .cta-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cta-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
}

.cta-section p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

.cta-section .cta-btn {
    margin-top: 16px;
    background-color: #f5c400;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    width: fit-content;
    text-decoration: none;
    text-align: center;
}

.cta-section .cta-icon {
    width: 90px;
    height: 90px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #f5c400;
    flex-shrink: 0;
}

.real-time-ranking {
    padding: 60px 20px;
    background: #f9f9f9;
}

.ranking-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.ranking-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.ranking-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.view-more {
    right: 0;
    top: 0;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.ranking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.ranking-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.ranking-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.ranking-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    position: relative;
}

.ranking-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ffc107;
    color: #333;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.ranking-info {
    padding: 20px;
}

.ranking-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.rating {
    font-size: 14px;
    margin-bottom: 12px;
    color: #666;
}

.rating span {
    font-size: 12px;
    color: #999;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.tags::before,
.tags::after {
    content: '';
}

.tags {
    font-size: 12px;
    color: #ff6b6b;
}
.stats-section {
    /* background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 60px 20px;
    text-align: center;
}
.stats-section h2 {
    color: #ff590c;
    font-size: 2rem;
    margin-bottom: 10px;
}
.stats-section p {
    color: #aaa;
    margin-bottom: 40px;
    font-size: 1rem;
}
.stats-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
.stat-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 30px 40px;
    min-width: 180px;
    transition: transform 0.3s;
}
.stat-item:hover {
    transform: translateY(-5px);
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e94560;
}
.stat-label {
    color: #ccc;
    font-size: 0.95rem;
    margin-top: 8px;
}
.ranking-list { max-width: 1300px; margin: 0 auto 60px; padding: 0 16px; display: flex; flex-direction: column; gap: 16px; margin-top:120px;}
/* CARD */
.ranking-header{
    text-align: center;
    margin-bottom: 40px;
}
.rank-card {
    background: #fff;
    border-radius: 14px;
    display: flex;
    align-items: flex-start;
    padding: 16px;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: relative;
    transition: box-shadow 0.2s;
}
.rank-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.12); }

/* THUMBNAIL */
.rank-thumb-wrap { position: relative; flex-shrink: 0; }
.rank-thumb {
    width: 110px;
    height: 110px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    background: #ddd;
}
.rank-badge {
    position: absolute;
    top: 0; left: 0;
    background: #2c2c2c;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 10px 0 10px 0;
}
.rank-badge.top3 { background: #f5c518; color: #fff; }
.rank-trophy {
    position: absolute;
    top: -8px; right: -8px;
    font-size: 18px;
}

/* BODY */
.rank-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; min-height: 110px; }
.rank-title { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.rank-location { font-size: 12px; color: #999; margin-bottom: 8px; display: flex; align-items: center; gap: 4px; }
.rank-location::before { content: '📍'; font-size: 11px; }
.rank-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.rank-tag {
    background: #f5f3ef;
    color: #666;
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 20px;
    border: 1px solid #e8e5df;
}

/* META & BTN */
.rank-footer { display: flex; align-items: center; justify-content: space-between; }
.rank-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #888; }
.rank-meta .stars { color: #f5c518; font-weight: 700; font-size: 13px; }
.rank-meta .likes { display: flex; align-items: center; gap: 3px; }
.rank-meta .likes::before { content: '👍'; font-size: 12px; }

.btn-primary {
    background: #f5c518;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.2s;
    text-decoration: none;
    text-align: center;
}
.btn-primary:hover { background: #e0b310; }
.btn-secondary {
    background: transparent;
    color: #555;
    border: 1px solid #ddd;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s;
    text-decoration: none;
    text-align: center;
}
.btn-secondary:hover { border-color: #f5c518; color: #f5c518; }