/* ========================================================
   Junior Girls - Arctic Ice & Sapphire Ocean Portal (Folder 32)
   Fresh Nordic Glassmorphism Architecture (Zero template footprint)
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0 0 60px 0;
  background-color: #E6F0FA;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(2, 132, 199, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 90% 30%, rgba(14, 165, 233, 0.10) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(3, 105, 161, 0.08) 0%, transparent 50%);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13.5px;
  color: #1E293B;
  line-height: 1.5;
  min-height: 100vh;
}

a {
  color: #0284C7;
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #0369A1;
  text-decoration: none;
}

.ice_wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ========================================================
   1. ARCTIC TOP STATUS TICKER
   ======================================================== */
.ice_top_bar {
  background: #0B2545;
  border-bottom: 2px solid #0284C7;
  padding: 8px 16px;
  font-size: 11px;
  font-family: 'Space Grotesk', monospace;
  color: #94A3B8;
}

.ice_top_inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ice_top_left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ice_live_dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 8px #38BDF8;
  animation: icePulse 1.6s infinite;
}

@keyframes icePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.ice_node_tag {
  color: #38BDF8;
  font-weight: 700;
}

.ice_top_right {
  color: #E2E8F0;
  font-weight: 600;
}

/* ========================================================
   2. HERO GLASS SHOWCASE
   ======================================================== */
.ice_hero_section {
  padding: 28px 0;
}

.ice_hero_glass {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 36px rgba(11, 37, 69, 0.08);
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 28px;
  align-items: center;
}

/* Left: Animated GIF Banner */
.ice_banner_frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid #BAE6FD;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.15);
  background: #0B2545;
}

.ice_banner_img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.ice_banner_frame:hover .ice_banner_img {
  transform: scale(1.02);
}

.ice_banner_overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 37, 69, 0.92) 100%);
  padding: 16px 14px 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.ice_banner_badge {
  background: #EF4444;
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.5px;
}

.ice_banner_title {
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 13px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Right: Title & Gallery Matrix */
.ice_hero_content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ice_pill_sup {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #E0F2FE;
  border: 1px solid #BAE6FD;
  color: #0369A1;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  width: fit-content;
}

.ice_site_title {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: #0B2545;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.ice_site_title span {
  color: #0284C7;
}

.ice_hero_desc {
  margin: 0;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
}

/* Mini Gallery Vault Blocks (Photos & Movies) */
.ice_vault_deck {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ice_vault_row {
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  border-radius: 12px;
  padding: 10px 14px;
}

.ice_vault_head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: #0369A1;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ice_chips_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.ice_chip {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #0F172A;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Space Grotesk', monospace;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.ice_chip:hover {
  background: #0284C7;
  border-color: #0284C7;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.ice_chip_icon {
  width: 12px;
  height: 12px;
  object-fit: contain;
}

/* ========================================================
   3. POPULAR WMV RELEASES HORIZON
   ======================================================== */
.ice_pop_section {
  margin-bottom: 28px;
}

.ice_section_title_bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.ice_sec_title {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #0B2545;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ice_sec_badge {
  background: #0284C7;
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.ice_pop_grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.ice_pop_card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.06);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.ice_pop_card:hover {
  transform: translateY(-4px);
  border-color: #38BDF8;
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.15);
}

.ice_pop_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.ice_pop_rank {
  background: #0B2545;
  color: #38BDF8;
  font-family: 'Space Grotesk', monospace;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
}

.ice_pop_icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.ice_pop_name {
  font-size: 12.5px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 10px 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ice_pop_meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  color: #64748B;
  font-family: 'Space Grotesk', monospace;
  margin-bottom: 10px;
  padding-top: 8px;
  border-top: 1px dashed #E2E8F0;
}

.ice_pop_btn {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF !important;
  font-size: 11px;
  font-weight: 700;
  padding: 8px;
  border-radius: 6px;
  text-align: center;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.ice_pop_btn:hover {
  background: linear-gradient(135deg, #0369A1 0%, #075985 100%);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

/* ========================================================
   4. TWO-COLUMN RANKING & CATEGORIES LAYOUT
   ======================================================== */
.ice_main_layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

/* Left: 25 Ranked Leaderboard */
.ice_rank_box {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(11, 37, 69, 0.07);
}

.ice_rank_list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ice_rank_item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.2s ease;
}

.ice_rank_item:hover {
  background: #F0F9FF;
  border-color: #38BDF8;
  transform: translateX(3px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.1);
}

.ice_num_badge {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', monospace;
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
  background: #E2E8F0;
  color: #334155;
}

.ice_num_badge.top_1 {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(2, 132, 199, 0.4);
}

.ice_num_badge.top_2 {
  background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
  color: #FFFFFF;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
}

.ice_num_badge.top_3 {
  background: linear-gradient(135deg, #7DD3FC 0%, #38BDF8 100%);
  color: #0F172A;
}

.ice_rank_content {
  flex: 1;
  min-width: 0;
}

.ice_rank_title {
  margin: 0 0 3px 0;
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
  transition: color 0.2s ease;
}

.ice_rank_item:hover .ice_rank_title {
  color: #0284C7;
}

.ice_rank_desc {
  margin: 0;
  font-size: 12px;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ice_rank_action {
  flex-shrink: 0;
}

.ice_rank_btn {
  background: #0284C7;
  color: #FFFFFF !important;
  font-size: 11px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.ice_rank_btn:hover {
  background: #0369A1;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

/* Right: 54 Ocean Categories Widget */
.ice_sidebar {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ice_side_box {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 10px 30px rgba(11, 37, 69, 0.07);
}

.ice_side_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #BAE6FD;
}

.ice_side_title {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #0B2545;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ice_cat_cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
}

.ice_cat_tag {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #1E293B;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.ice_cat_count {
  background: #EF4444;
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 10px;
  font-family: 'Space Grotesk', monospace;
}

.ice_cat_tag:hover {
  background: #0284C7;
  border-color: #0284C7;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2);
}

.ice_cat_tag:hover .ice_cat_count {
  background: #0B2545;
}

/* ========================================================
   5. SPECS PANEL & FOOTER
   ======================================================== */
.ice_specs_box {
  background: #0B2545;
  color: #94A3B8;
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 24px;
  font-family: 'Space Grotesk', monospace;
  font-size: 11px;
}

.ice_specs_title {
  color: #38BDF8;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.ice_specs_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 16px;
}

.ice_specs_grid strong {
  color: #F8FAFC;
}

.ice_footer {
  text-align: center;
  padding: 30px 16px 10px 16px;
  margin-top: 28px;
  border-top: 1px solid #CBD5E1;
  color: #64748B;
  font-size: 11px;
  line-height: 1.5;
}

.ice_trade_btn {
  display: inline-block;
  background: #0284C7;
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 11px;
  padding: 6px 18px;
  border-radius: 6px;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.ice_trade_btn:hover {
  background: #0369A1;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

/* ========================================================
   6. RESPONSIVE BREAKPOINTS
   ======================================================== */
@media (max-width: 1040px) {
  .ice_hero_glass {
    grid-template-columns: 1fr;
  }
  .ice_banner_frame {
    max-width: 600px;
    margin: 0 auto;
  }
  .ice_pop_grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ice_main_layout {
    grid-template-columns: 1fr;
  }
  .ice_sidebar {
    position: static;
  }
}

@media (max-width: 680px) {
  .ice_pop_grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ice_site_title {
    font-size: 28px;
  }
  .ice_rank_item {
    flex-direction: column;
    align-items: flex-start;
  }
  .ice_rank_action {
    width: 100%;
  }
  .ice_rank_btn {
    width: 100%;
    justify-content: center;
  }
  .ice_specs_grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   Active Link & Table Styles (Folder 32)
   ======================================================== */

a.ice_rank_row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 12px 14px;
  text-decoration: none !important;
  color: inherit !important;
  transition: all 0.2s ease;
  cursor: pointer;
}

a.ice_rank_row:hover {
  background: #F0F9FF;
  border-color: #38BDF8;
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.12);
}

a.ice_rank_row:hover .ice_rank_title {
  color: #0284C7;
}

a.ice_pop_card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.06);
  text-decoration: none !important;
  color: inherit !important;
  transition: all 0.25s ease;
  cursor: pointer;
}

a.ice_pop_card:hover {
  transform: translateY(-4px);
  border-color: #38BDF8;
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.15);
}

a.ice_pop_card:hover .ice_pop_name {
  color: #0284C7;
}

/* Secondary 30-Site Partner Toplist Table */
.ice_sub_toplist_wrap {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed #CBD5E1;
}

.ice_toplist_table_box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px;
  overflow-x: auto;
}

.ice_toplist_table {
  border-collapse: collapse;
  width: 100%;
}

.ice_toplist_table td {
  padding: 6px 8px;
  border-bottom: 1px solid #EDF2F7;
  font-size: 11.5px;
}

.ice_tbl_rank {
  font-family: 'Space Grotesk', monospace;
  font-weight: 800;
  color: #0369A1;
  background: #E0F2FE;
  text-align: center;
  border-radius: 4px;
  width: 32px;
  transition: all 0.15s ease;
}

.ice_tbl_rank:hover {
  background: #BAE6FD;
}

.ice_tbl_rank a {
  font-family: 'Space Grotesk', monospace;
  font-weight: 800;
  color: #0369A1;
  text-decoration: none;
  display: block;
  width: 100%;
}

.ice_tbl_rank a:hover {
  color: #0284C7;
}

.ice_tbl_name a {
  font-weight: 600;
  color: #1E293B;
  display: block;
  text-decoration: none;
  transition: all 0.15s ease;
}

.ice_tbl_name a:hover {
  color: #0284C7;
  text-decoration: underline;
  transform: translateX(2px);
}
