/* ==========================================
   PC-MODE.CSS - GAYA UMUM (SEMUA ORIENTASI)
   ========================================== */
@media screen and (min-width: 768px) and (min-height: 380px) {

    /* ==========================================
       1. BACKGROUND & VISUAL EFFECTS
       ========================================== */
    html, body {
        background-color: var(--bg-dark) !important;
        background-image: 
            radial-gradient(rgba(168, 85, 247, 0.15) 1px, transparent 1px),
            radial-gradient(circle at 50% 30%, #1e113c 0%, #0f172a 50%, var(--bg-dark) 100%) !important;
        background-size: 6px 6px, 100% 100% !important;
        background-attachment: fixed !important;
        transition: background 0.4s ease;
    }

    /* ==========================================
       2. HEADER (TOP BAR)
       ========================================== */
    .top-bar {
        width: 70vw;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: end ;
        padding: 20px 0;
        border-bottom: 1px solid var(--border-line);
        position: relative;
    }

    .top-bar::before, .top-bar::after {
        content: '';
        position: absolute;
        bottom: -1px;
        width: 20px;
        height: 3px;
        background: var(--color-primary);
        box-shadow: 0 0 10px var(--color-primary);
    }
    .top-bar::before { left: 0; }
    .top-bar::after { right: 0; }

    .pc-header-text {
        font-weight: 900;
        letter-spacing: 3px;
        color: #fff;
        text-transform: uppercase;
        text-shadow: 0 0 15px rgba(168, 85, 247, 0.6);
        line-height: 1.1;
        text-align: center;
    }

    /* ==========================================
       3. SIDEBAR (LOGO & BRANDING)
       ========================================== */
    .sidebar-brand {
        align-items: center;
        justify-content: center;
    }

    .logo-wrapper {
        display: flex;
        justify-content: center;
    }

    .logo-wrapper img {
        filter: drop-shadow(0 0 15px var(--color-primary));
    }

    .brand-container {
        margin-top: 15px;
    }

    .brand-main {
        font-weight: 900;
        letter-spacing: 1px;
        color: #fff;
        text-transform: uppercase;
    }

    .brand-sub {
        font-weight: 400;
        color: var(--color-primary);
        letter-spacing: 2px;
        text-transform: lowercase;
        margin-top: 5px;
        opacity: 0.8;
    }

    /* ==========================================
       4. AREA SLIDER & SCROLLBAR
       ========================================== */
    #app-container {
        display: flex;
        align-items: center;
        overflow-x: auto;
        padding: 0 40px;
        scroll-behavior: smooth;
        scrollbar-width: thin;
        scrollbar-color: var(--color-primary) rgba(0, 0, 0, 0.2);
    }

    #app-container::-webkit-scrollbar { height: 6px; }
    #app-container::-webkit-scrollbar-track { background: var(--border-divider); border-radius: 10px; }
    #app-container::-webkit-scrollbar-thumb { 
        background: var(--color-primary-glow); 
        border-radius: 10px; 
    }
    #app-container::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }

    #main-slider {
        display: flex;
        gap: 30px;
    }

    /* ==========================================
       5. SLIDER CARD (GLASSMORPHISM & HOVER)
       ========================================== */
    .slider-card {
        background: var(--bg-pc-glass);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid var(--border-line);
        border-radius: 20px;
        padding: 25px;
        flex-shrink: 0;
        position: relative;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .slider-card::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255,255,255,0.05), transparent);
        transform: rotate(45deg);
        transition: 0.5s;
        pointer-events: none;
    }

    .slider-card:hover {
        transform: translateY(-10px) scale(1.02);
        border-color: var(--border-line-hover);
        background: var(--color-primary-hover) !important;
        box-shadow: var(--shadow-neon-glow) !important;
    }

    .slider-card:hover::before {
        left: 100%;
        top: 100%;
    }

    .slider-card-content {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .pc-card-body {
        line-height: 1.6;
        color: var(--text-main);
        overflow: hidden;
        margin-bottom: 30px;
    }

    .pc-read-more-hint {
        margin-top: auto;
        font-size: 0.8rem;
        color: var(--color-primary);
        font-weight: bold;
        text-transform: lowercase;
        font-style: italic;
        opacity: 0.8;
        text-align: right;
    }

    /* ==========================================
       6. FOOTER (BOTTOM BAR)
       ========================================== */
      .headline-body-pc {
        width: 75vw;
        margin: 0 auto;
        height: 10dvh;            
        display: block;
        justify-content: center; 
        align-items: center;     
        text-align: center;
        color: #94a3b8;
        line-height: 1.4;
        overflow: visible;        
        position: relative;
        z-index: 10;             
    }
    
    .inline-link-text {
        display: inline;
        color: var(--color-primary);
        font-weight: bold;
        text-decoration: underline;
        cursor: pointer;
        margin-left: 5px;
        white-space: nowrap;
        pointer-events: auto;
    }

    .inline-link-text:hover {
        color: #fff;
        text-shadow: 0 0 10px var(--color-primary);
        transform: scale(1.05);
    }

    /* ==========================================
       7. RUNNING TEXT (MARQUEE)
       ========================================== */
    .running-text-wrapper {
        position: fixed;
        bottom: 1dvh;
        left: 50%;
        transform: translateX(-50%);
        width: 70vw;
        background: transparent;
        overflow: hidden;
        z-index: 2000;
        pointer-events: none;
        mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    }

    .running-text-content {
        display: inline-block;
        white-space: nowrap;
        font-size: 1.1rem;
        font-weight: 500;
        letter-spacing: 2px;
        color: rgba(255, 255, 255, 0.8);
        padding-left: 100%;
        animation: marquee-pc 25s linear infinite;
    }

    @keyframes marquee-pc {
        0% { transform: translateX(0); }
        100% { transform: translateX(-100%); }
    }

    /* ==========================================
       8. FLOATING WIDGETS (MAIL & CHAT)
       ========================================== */
    .mail-container, .chat-container {
        position: fixed;
        z-index: 1500;
        cursor: pointer;
        transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .mail-container {
        top: 20px;
        left: 40px;
        background: transparent;
        color: white;
        font-weight: 800;
        font-size: 0.9rem;
        letter-spacing: 2px;
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .mail-container i { font-size: 1.5rem; color: var(--color-primary); }
    .mail-container:hover { transform: translateX(10px); text-shadow: 0 0 15px var(--color-primary); }

    #ign-label-container {
        position: fixed;
        top: 20px;
        right: 40px;
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 1.2rem;
        font-weight: 800;
        color: #fff;
        z-index: 9900;
        letter-spacing: 1.2px;
    }
    #ign-label-container:hover { transform: translateX(-10px); text-shadow: 0 0 15px var(--color-primary); }
    #ign-label-container:active { transform: scale(0.9); opacity: 0.7; }

    .chat-container {
        bottom: 30px;
        right: 40px;
        width: 65px;
        height: 65px;
        background: var(--color-primary);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 25px var(--color-primary-glow);
    }
    .chat-container i { font-size: 1.8rem; }
    .chat-container:hover { transform: scale(1.1) rotate(-10deg); background: white; color: var(--color-primary); }

    /* ==========================================
       9. DETAIL MODAL (OVERLAY)
       ========================================== */
    .detail-modal {
        position: fixed;
        inset: 0;
        background: var(--bg-overlay);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 10000;
        padding: 20px;
    }
    
    .modal-content {
        background: var(--bg-popup);
        border: 1px solid var(--color-primary);
        width: 100%;
        max-width: 600px;
        border-radius: 20px;
        padding: 30px;
        position: relative;
        box-shadow: 0 0 30px var(--color-primary-glow);
    }
    
    .modal-header {
        display: flex;
        justify-content: space-between;
        align-items: top;
        margin-bottom: 20px;
    }
    
    #modalTitle {
        color: var(--color-primary);
        margin: 0;
        font-size: 1.5rem;
        font-weight: 800;
    }
    
    .modal-body {
        max-height: 60vh;
        overflow-y: auto;
        color: var(--text-main);
        line-height: 1.7;
        font-size: 1rem;
        padding-right: 10px;
    }
    
    .modal-body::-webkit-scrollbar { width: 4px; }
    .modal-body::-webkit-scrollbar-thumb { 
        background: var(--color-primary); 
        border-radius: 10px; 
    }
   /* ==========================================
       10. SHARE
    ========================================== */ 
   .share-container {
       position: fixed;
       z-index: 1500;
       cursor: pointer;
       transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
       background: var(--color-primary);
       color: white;
       border-radius: 30px;
       display: flex;
       align-items: center;
       gap: 8px;
       padding: 8px 16px;
       font-weight: bold;
       font-size: 0.8rem;
       box-shadow: 0 4px 15px var(--color-primary-glow);
   }
   .share-container:hover {
       transform: scale(1.05);
       background: white;
       color: var(--color-primary);
   } 
   .share-container {
       bottom: 30px;
       left: 40px;  /* atau di kanan? terserah */
   }
}


/* ==========================================
   PC LANDSCAPE (LAYOUT KHUSUS LANDSCAPE)
   ========================================== */
@media screen and (orientation: landscape) and (min-width: 768px) and (min-height: 380px) {

    .master-frame {
        display: grid;
        grid-template-rows: 18dvh 60dvh 1fr;
        height: 95dvh;
        margin-top: 5dvh;
        overflow: hidden;
    }

    .content-wrapper {
        display: grid;
        grid-template-columns: 60dvh 1fr;
        height: 100%;
    }
   
    .pc-header-text {
        font-size: clamp(6dvh, 5dvh, 6dvh) ;
    }
   
    .sidebar-brand {
        display: flex;
        flex-direction: column;
        width: 60dvh;
    }

    .logo-wrapper img {
        width: 30dvh;
    }

    .brand-container {
        display: block;
        width: 60dvh;
        text-align: center ;
        margin-top: 15px ;
    }
   
    .brand-main {
        font-size: 1.8dvh;
    }

    .brand-sub {
        font-size: 1.2dvh;
    }

    .slider-card {
        width: 50dvh;
        height: 55dvh;
        margin-top: 15px;
    }
   
    .pc-card-title {
        font-size: 3.7dvh;
    }
   
    .pc-card-body {
        font-size: 2.5dvh;
    }

    .headline-body-pc {
        font-size: clamp(2.5dvh, 3dvh, 3.5dvh);           
    }

    .bottom-bar {
        /* gaya khusus landscape jika ada */
    }
}


/* ==========================================
   PC PORTRAIT (LAYOUT KHUSUS PORTRAIT)
   ========================================== */
@media screen and (orientation: portrait) and (min-width: 768px) and (min-height: 380px) {

    .master-frame {
        display: grid;
        grid-template-rows: 12dvh 60dvh 1fr;
        height: 95dvh;
        padding: 5vw ;
        margin-top: 5dvh;
        overflow: hidden;
    }

    .pc-header-text {
        font-size: clamp(3.5dvh, 4.0dvh, 4.5dvh) ;
    }

    .content-wrapper {
        display: grid;
        grid-template-rows: 25dvh 1fr;
        height: 100%;
    }

    .sidebar-brand {
    display: flex;
    flex-direction: row;
    align-items: center; 
    justify-content: center;
    gap: 20px;
    width: 100%;
    }
   
    .logo-wrapper img {
        height: 20dvh ;
    }
   
    .brand-container {
        text-align: left ;
        margin-top: 0;
    }
   
    .brand-main {
        font-size: 10dvh;
    }

    .brand-sub {
        font-size: 5dvh;
    }

    .slider-card {
        width: 26dvh;
        height: 30dvh;
        margin-top: 15px;
    }
   
    .pc-card-title {
        font-size: 1.9dvh;
    }
   
    .pc-card-body {
        font-size: 1.3dvh;
    }

    .headline-body-pc {
        font-size: clamp(1.5dvh, 2dvh, 2.5dvh);           
    }

    .bottom-bar {
        /* gaya khusus landscape jika ada */
    }

}
