/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=Jost:wght@400;500;600;700&family=Montserrat:wght@400;600;700&display=swap');


/* Color Variables */
:root {
  --primary-glow: rgba(144, 101, 255, 0.2); /* Used for header/footer glow */
  --dark-bg: #0f0e17; /* Common background for some sections */
  --card-bg: #1a1a2e; /* Common card background */
  --text-light: #fffffe; /* Light text color */
  --text-secondary: #a7a9be; /* Secondary text color */
  --hover-bg: #f2f2f6; /* Hover background for some elements */
  --hover-text: #000000; /* Hover text for some elements */

  /* Terms & Conditions specific colors (from original style block) */
  --bg-dark: #0a0a0a; /* Dark blue background */
  --bg-darker: #0b0b0b;
  --primary: #818cf8; /* Light purple accent */
  --secondary: #4ade80; /* Green accent */
  --text-gray: #94a3b8;
  /* --border-dark: #1e293b; */
}

/* Global Resets & Body Defaults (from your common CSS) */
*, *::before, *::after {
    box-sizing: border-box;
}

body, h1, h2, h3, h4, h5, h6, p, ul {
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark); /* Using T&C specific background */
    font-family: 'Poppins', sans-serif;
    color: var(--text-light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Header & Navigation (from your common CSS)
   ========================================================================== */
header {
    width: 100%;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    font-family: 'Montserrat', sans-serif;
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

header.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(144, 101, 255, 0.25);
    padding: 15px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container img {
    height: 50px;
    transition: height 0.3s ease;
    display: block;
}

header.scrolled .logo-container img {
    height: 40px;
}

/* --- Desktop Navigation --- */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

.main-nav ul li {
    position: relative;
}

.main-nav ul li > a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;
    padding-bottom: 5px;
}

.main-nav ul li:hover > a {
    color: #b58aff;
}

/* --- Submenu (Desktop) --- */
.main-nav .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 5px 0;
    min-width: 220px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    display: flex;
    flex-direction: column;
}

.main-nav li:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.main-nav .submenu li {
    width: 100%;
}

.main-nav .submenu li a {
    display: block;
    padding: 10px 20px;
    color: #ffffff;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
}

.main-nav .submenu li a:hover {
    background: #1f1f28;
    color: #b58aff;
}

/* --- Header Actions & Contact Button --- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-btn {
    display: inline-block;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(217, 179, 255, 0.6);
    border-radius: 50px;
    color: #b58aff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.contact-btn:hover {
    background: rgba(217, 179, 255, 0.08);
    border-color: #b58aff;
    box-shadow: 0 0 14px #b58aff, 0 0 30px #9065ff; /* Glow on Hover */
}

/* --- Mobile Navigation (Hamburger & Side Menu) --- */
#hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
    background: none;
    border: none;
}

#hamburger-menu span {
    width: 25px;
    height: 3px;
    background: #b58aff;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

#side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: rgba(10, 10, 10, 0.95); /* Slightly more opaque */
    backdrop-filter: blur(15px);
    padding: 20px;
    z-index: 1001;
    transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow-y: auto;
}

#side-menu.active {
    right: 0;
}

#side-menu .side-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--primary-glow);
}

#side-menu .side-menu-header h3 {
    color: #b58aff;
    font-size: 1.5rem;
}

#close-menu-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

#side-menu .side-nav-list,
#side-menu .submenu-mobile {
    list-style: none;
}

#side-menu .side-nav-list > li {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#side-menu .side-nav-list li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    padding: 12px 5px;
    text-transform: uppercase;
}

#side-menu .side-nav-list li a:hover {
    color: #b58aff;
}

#side-menu .submenu-mobile {
    padding-left: 20px;
    display: none;
    margin-top: 10px;
}

#side-menu li.active > .submenu-mobile {
    display: block;
}

#side-menu li.active > a {
    color: #d84dff;
}


/* ==========================================================================
   Terms & Conditions Specific Styles - ENHANCED
   ========================================================================== */

/* Hero Section - Enhanced */
.terms-hero {
  background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  padding: 8rem 0 5rem; /* Increased top padding to account for fixed header */
  text-align: center;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-dark);
  margin-top: 80px; /* Added space between navbar and banner */
}

.terms-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem; /* Increased from 2.5rem */
  font-weight: 700;
  margin-bottom: 1.5rem; /* Increased from 1rem */
  color: var(--text-light);
  line-height: 1.2;
}

.last-updated {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem; /* Increased from 1.1rem */
  color: var(--text-gray);
}

/* Main Container - Enhanced */
.terms-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem; /* Added bottom padding */
  gap: 4rem; /* Increased from 3rem */
}

/* Navigation - Enhanced */
.terms-nav {
  position: sticky;
  top: 8rem; /* Adjusted for header height */
  align-self: flex-start;
  width: 280px; /* Increased from 250px */
}

.terms-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.terms-nav li {
  margin-bottom: 1.2rem; /* Increased from 0.8rem */
}

.terms-nav a {
  display: block;
  padding: 0.8rem 1.2rem; /* Increased padding */
  text-decoration: none;
  color: var(--text-gray);
  border-radius: 6px;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1.1rem; /* Increased font size */
}

.terms-nav a:hover,
.terms-nav a.active {
  background-color: #1e293b;
  color: var(--primary);
  transform: translateX(5px);
}

/* Content Sections - Enhanced */
.terms-content {
  flex: 1;
  max-width: 850px; /* Increased from 800px */
}

.terms-section {
  margin-bottom: 4rem; /* Increased from 3rem */
  padding-bottom: 3rem; /* Increased from 2rem */
  border-bottom: 1px solid var(--border-dark);
}

.terms-section:last-child {
  border-bottom: none;
}

.terms-section h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--text-light);
  font-size: 2.2rem; /* Increased from 1.8rem */
  margin-bottom: 2rem; /* Increased from 1.5rem */
  line-height: 1.3;
}

.terms-section h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--text-light);
  font-size: 1.6rem; /* Increased from 1.3rem */
  margin: 2rem 0 1.5rem; /* Increased margins */
  line-height: 1.4;
}

.terms-section p {
  color: var(--text-gray);
  margin-bottom: 1.5rem; /* Increased from 1.2rem */
  font-size: 1.1rem; /* Increased font size */
  line-height: 1.8;
}

/* Special Boxes - Enhanced */
.notice-box {
  background-color: #1e293b;
  border-left: 4px solid var(--secondary);
  padding: 1.5rem; /* Increased from 1.2rem */
  margin: 2rem 0; /* Increased from 1.5rem */
  border-radius: 0 8px 8px 0;
}

.notice-box p {
  color: var(--text-light);
  margin: 0;
  font-size: 1.1rem; /* Added font size */
}

.warning-box {
  background-color: #1e293b;
  border-left: 4px solid #f87171;
  padding: 1.5rem; /* Increased from 1.2rem */
  margin: 2rem 0; /* Increased from 1.5rem */
  border-radius: 0 8px 8px 0;
}

.warning-box p {
  color: var(--text-light);
  margin: 0 0 0.8rem 0; /* Increased from 0.5rem */
  font-size: 1.1rem; /* Added font size */
}

/* Lists - Enhanced */
.definition-list,
.prohibited-list {
  padding-left: 2rem; /* Increased from 1.5rem */
}

.definition-list li,
.prohibited-list li {
  margin-bottom: 1rem; /* Increased from 0.8rem */
  position: relative;
  color: var(--text-gray);
  font-size: 1.1rem; /* Added font size */
  line-height: 1.8;
}

.definition-list li::before,
.prohibited-list li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  font-size: 1.5rem; /* Increased bullet size */
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  margin-bottom: 1.2rem; /* Increased from 0.8rem */
  color: var(--text-gray);
  font-size: 1.1rem; /* Added font size */
}

.contact-list a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 1.1rem; /* Added font size */
}

.contact-list a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/* ==========================================================================
   Footer & Copyright (from your common CSS)
   ========================================================================== */
.footer-section {
    background-color: #000;
    padding: 80px 0 40px;
    font-family: 'Poppins', sans-serif;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
    font-family: 'Poppins', sans-serif;
}

.footer-menu a:hover {
    color: #fff !important;
}

.footer-col img {
    max-width: 150px;
    margin-bottom: 20px;
    filter: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.footer-col img:hover {
    opacity: 0.9;
}

.company-info {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
}

.company-info p {
    margin: 0 0 10px;
}

.company-info strong {
    color: #fff;
}

/* Copyright */
.glass-bottom-bar {
    background: rgba(0, 0, 0, 0.91);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px 20px;
    border-top: 1px solid rgba(181, 138, 255, 0.2);
    box-shadow: 0 -4px 12px rgba(181, 138, 255, 0.2);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    z-index: 99;
}

.glass-content-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.glass-copyright {
    color: #94a3b8; /* Grey color matching icons */
    font-size: 14px;
    margin: 0;
}

.glass-copyright a {
    color: #94a3b8; /* Matching text color */
    text-decoration: none;
    font-weight: 500;
}

.glass-copyright a:hover {
    color: #FFFFFF; /* White on hover for consistency */
}

.glass-icons {
    display: flex;
    gap: 16px;
}

.icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8; /* Grey color */
    transition: all 0.3s ease;
    font-size: 15px;
    background-color: transparent;
    border: none;
}

.icon svg {
    height: 24px;
    width: 24px;
    fill: currentColor;
    transition: color 0.3s ease;
}

.icon:hover {
    background-color: transparent;
    box-shadow: none;
    transform: scale(1.2);
}

.icon.li:hover svg {
    color: #FFFFFF; /* White on hover */
}

.icon.tw:hover svg {
    color: #FFFFFF; /* White on hover */
}

.icon.ig:hover svg {
    color: #FFFFFF; /* White on hover */
}


/* Responsive Design */
@media (max-width: 1024px) {
    header > div {
        max-width: 90%;
        padding: 0 20px;
    }

    header > div > nav > ul {
        gap: 25px;
        font-size: 14px;
    }

    header > div > div:first-child img {
        height: 45px;
    }

    header > div > div:nth-child(3) > a {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    /* Hide main navigation and original contact button */
    .main-nav {
        display: none;
    }
    .header-actions .contact-btn {
        display: none;
    }

    /* Show hamburger menu */
    #hamburger-menu {
        display: flex;
    }

    /* Header padding and logo size for mobile */
    header {
        padding: 15px 20px;
    }
    .logo-container img {
        height: 35px;
    }

    /* Ensure desktop submenu is not visible even if somehow triggered */
    .main-nav .submenu {
        display: none !important;
    }

    /* Adjust section titles and grids for mobile (from T&C specific) */
    .terms-container {
        flex-direction: column;
        padding: 0 1rem;
    }

    .terms-nav {
        position: static;
        width: 100%;
        margin-bottom: 2rem;
    }

    .terms-nav ul {
        display: flex;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .terms-nav li {
        margin-right: 1rem;
        margin-bottom: 0;
        white-space: nowrap;
    }
    
    .terms-hero {
        padding: 5rem 0 3rem;
        margin-top: 60px;
    }
    
    .terms-hero h1 {
        font-size: 2.2rem;
    }

    .terms-section h2 {
        font-size: 1.8rem;
    }

    .terms-section h3 {
        font-size: 1.4rem;
    }

    /* Footer responsiveness */
    .footer-columns {
        flex-direction: column;
        gap: 30px;
    }
    .footer-col {
        min-width: 100%;
    }
}

@media (max-width: 600px) {
    .glass-content-wrap {
        flex-direction: column;
        gap: 10px;
    }

    .glass-icons {
        justify-content: center;
    }

    .terms-hero h1 {
        font-size: 1.8rem;
    }

    .last-updated {
        font-size: 1.1rem;
    }
}