/* ================================
   THEME: Rounded (Soft, Modern, Animated)
   ================================ */

body {
  background-color: #f7f7f7;
}

[data-mainpage=false] .content-container {
  padding-bottom: 2rem;
}

/* Global animations */
.fade-up {

    animation: roundedFadeUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
  
}
.fade-up-delay-1 {

    animation-delay: 0.1s;
  
}
.fade-up-delay-2 {

    animation-delay: 0.2s;
  
}
.fade-up-delay-3 {

    animation-delay: 0.3s;
  
}
.fade-up-delay-4 {

    animation-delay: 0.4s;
  
}
/* Navigation */
.themed-header-spacer {
  height: 20px; 
}
[data-mainpage=true] .themed-header-spacer {
  height: 73px;
}

.themed-header-wrapper .main-nav .navbar-toggler{
  color: var(--theme-primary);
}


.themed-header-wrapper .main-nav {

    background: var(--primarybgcolor);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-bottom: none;
    padding: 0.5rem 0;
    border-radius: 0 0 30px 30px;
    margin: 0 20px;
    position: relative;
  
}
.themed-header-wrapper .main-nav::after {

    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--theme-primary), transparent);
    border-radius: 2px;
  
}
.themed-header-wrapper .main-nav .nav-link {

    color: var(--primarytextcolor) !important;
    font-family: var(--fonttitle);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    white-space: nowrap;
    padding: 0.25rem 0.5rem !important;
    border-radius: 25px;
    margin: 0 4px;
    font-size: 1rem;
  
}
.themed-header-wrapper .main-nav .nav-link::after {

    display: none;
  
}
.themed-header-wrapper .main-nav .nav-link:hover {

    color: var(--primarybgcolor) !important;
    background: var(--theme-primary);
  
}
.themed-header-wrapper .main-nav .small-nav .nav-link {

    font-size: 0.75rem;
    opacity: 0.8;
    padding: 0.25rem 0.5rem !important;
  
}
.themed-header-wrapper .main-nav .small-nav .nav-link:hover {

    opacity: 1;
  
}
.themed-header-wrapper .main-nav .dropdown-menu {

    background: var(--primarybgcolor);
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: roundedBounceIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: absolute;
    z-index: 1000;
    min-width: 220px;
    padding: 12px;
    display: block;
    overflow: hidden;
  
}
.themed-header-wrapper .main-nav .dropdown-item {

    color: var(--primarytextcolor);
    padding: 12px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 12px;
    margin: 4px 0;
  
}
.themed-header-wrapper .main-nav .dropdown-item::before {

    display: none;
  
}
.themed-header-wrapper .main-nav .dropdown-item:hover {

    background: var(--theme-primary);
    color: var(--theme-secondary);
    transform: translateX(8px);
    padding-left: 18px;
  
}
.themed-header-wrapper .main-nav .dropdown-submenu {

    position: absolute;
    left: calc(100% + 8px);
    top: 0;
    display: none;
    min-width: 220px;
  
}
.themed-header-wrapper .main-nav .dropdown-submenu-item {

    position: relative;
  
}
.themed-header-wrapper .main-nav .dropdown-submenu-item > .dropdown-submenu {

    display: none;
  
}
.themed-header-wrapper .main-nav .dropdown-submenu-item:hover > .dropdown-submenu {

    display: block;
  
}
.themed-header-wrapper .main-nav .dropdown-item.dropdown-toggle {

    display: flex;
    justify-content: space-between;
    align-items: center;
  
}
/* Mega Menu Styles */
.themed-header-wrapper .mega-dropdown {

    position: static !important;
  
}
.themed-header-wrapper .mega-menu {

    position: fixed;
    left: 20px;
    right: 20px;
    background: var(--primarybgcolor);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: none;
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
      transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
      visibility 0.4s;
    pointer-events: none;
    transform: translateY(-20px) scale(0.95);
    scrollbar-width: thin;
    scrollbar-color: var(--primarybgcolor) rgba(255, 255, 255, 0.1);
  
}
.themed-header-wrapper .mega-menu::-webkit-scrollbar {

    width: 8px;
  
}
.themed-header-wrapper .mega-menu::-webkit-scrollbar-track {

    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
  
}
.themed-header-wrapper .mega-menu::-webkit-scrollbar-thumb {

    background: var(--primarybgcolor);
    border-radius: 10px;
  
}
.themed-header-wrapper .mega-dropdown:hover .mega-menu {

    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  
}
.themed-header-wrapper .mega-menu-container {

    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 50px;
  
}
.themed-header-wrapper .mega-menu-header {

    border-bottom: none;
    padding-bottom: 20px;
    margin-bottom: 30px;
    position: relative;
  
}
.themed-header-wrapper .mega-menu-header::after {

    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--theme-primary), transparent);
    border-radius: 3px;
  
}
.themed-header-wrapper .mega-menu-header h3 {

    font-family: var(--fonttitle);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--primarytextcolor);
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
  
}
.themed-header-wrapper .mega-menu-content {

    display: flex;
    flex-wrap: wrap;
    gap: 35px;
  
}
.themed-header-wrapper .mega-menu-column {

    flex: 1;
    min-width: 200px;
    max-width: 280px;
  
}
.themed-header-wrapper .mega-menu-links {

    display: flex;
    flex-direction: column;
    gap: 10px;
    border-right: none;
    padding-right: 30px;
  
}
.themed-header-wrapper .mega-menu-link {

    color: var(--primarytextcolor);
    font-family: var(--fonttitle);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 10px 16px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 12px;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
  
}
.themed-header-wrapper .mega-menu-link::before {

    display: none;
  
}
.themed-header-wrapper .mega-menu-link:hover {

    color: var(--theme-secondary);
    background: var(--theme-primary);
    transform: scale(1.03);
    padding-left: 16px;
  
}
.themed-header-wrapper .mega-menu-category-title {

    display: block;
    font-family: var(--fonttitle);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--theme-primary);
    text-transform: none;
    letter-spacing: 0;
    text-decoration: none;
    margin-bottom: 15px;
    padding: 12px 18px;
    background: linear-gradient(135deg, rgb(from var(--theme-primary) r g b / 0.2), transparent);
    border-radius: 15px;
    border: none;
    transition: all 0.3s ease;
  
}
.themed-header-wrapper .mega-menu-items {

    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
  
}
.themed-header-wrapper .mega-menu-items li > a {

    display: block;
    color: var(--primarytextcolor);
    font-size: 0.88rem;
    text-decoration: none;
    padding: 10px 16px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 10px;
    border: none;
  
}
.themed-header-wrapper .mega-menu-items li > a:hover {

    color: var(--primarybgcolor);
    background: var(--theme-primary);
    transform: translateX(5px);
    padding-left: 16px;
  
}

.themed-header-wrapper .mega-menu-category > a:link:hover {
  color: var(--primarytextcolor) !important;
}

.themed-header-wrapper .mega-menu-subcategory {

    margin: 12px 0;
  
}
.themed-header-wrapper .mega-menu-subcategory-title {

    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border: none;
  
}
.themed-header-wrapper .mega-menu-subitems {

    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 10px;
  
}
.themed-header-wrapper .mega-menu-subitems li a {

    display: block;
    color: var(--primarytextcolor);
    font-size: 0.82rem;
    text-decoration: none;
    padding: 8px 14px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 8px;
  
}
.themed-header-wrapper .mega-menu-subitems li a:hover {

    color: rgb(from var(--primarytextcolor) r g b / 0.7);
    background: var(--theme-primary);
    transform: scale(1.02);
    padding-left: 14px;
  
}
/* Section Titles */
.section-title {

    font-family: var(--fonttitle);
    font-size: clamp(2.2rem, 5vw, 4rem) !important;
    font-weight: 800 !important;
    text-transform: none;
    letter-spacing: -1px;
    line-height: 1.1;
    position: relative;
    display: inline-block;
  
}
.section-title::after {

    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 8px;
    background: var(--theme-primary);
    border-radius: 4px;
  
}
/* News Section */
.news-section {

    padding-top: 10px !important;
    background: var(--highlightcolor);
    color: var(--highlightheadercolor);
    position: relative;
    overflow: hidden;

}
.news-section .section-title {
  color: var(--highlightcolor-inversed) !important;
}
.news-section::before {

    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, var(--theme-primary) 0%, transparent 70%);
    opacity: 0.05;
    pointer-events: none;
    animation: roundedFloat 20s ease-in-out infinite;
  
}
.news-card {

    background: var(--highlightcolorlighter) !important;
    border: none !important;
    border-radius: 24px !important;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
    position: relative;
  
}
.news-card::before {

    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 24px;
    z-index: 0;
  
}
.news-card:hover::before {

    opacity: 0.1;
  
}
.news-card:hover {

    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    border-radius: 30px;
  
}
.news-card .card-img-wrapper {

    position: relative;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
  
}
.news-card:hover .card-img-wrapper {

    border-radius: 30px 30px 0 0;
  
}
.news-card .card-img-wrapper::after {

    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
  
}
.news-card:hover .card-img-wrapper::after {

    opacity: 1;
  
}
.news-card .card-img-wrapper img {

    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  
}
.news-card:hover .card-img-wrapper img {

    transform: scale(1.15);
  
}
.news-card .card-body {

    position: relative;
    z-index: 1;
    padding: 1.5rem;
  
}
.news-card .card-title {

    font-family: var(--fonttitle);
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.4;
    transition: color 0.3s ease;
    color: var(--highlightheadercolor);
  
}
.news-card:hover .card-title, .news-card:hover .card-category {

    color: var(--theme-primary);
  
}
.news-card .card-date {

    color: var(--theme-primary);
    font-weight: 700;
    font-size: 0.75rem;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  
}
.news-card .card-text {

    font-size: 0.92rem;
    line-height: 1.7;
    color: #666;
  
}
.news-card .card-category {
  color: var(--highlightheadercolor);
  transition: color 0.3s ease;
}

/* Buttons */
.btn-theme-primary {

    background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent)) !important;
    color: var(--primarybgcolor) !important;
    border: none;
    font-family: var(--fonttitle);
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.5px;
    padding: 16px 36px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  
}
.btn-theme-primary::before {

    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
  
}
.btn-theme-primary:hover::before {

    width: 300px;
    height: 300px;
  
}
.btn-theme-primary:hover {

    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  
}
/* Calendar Section */
.calendar-section {

    background: var(--gamesbgcolor);
    position: relative;
    overflow: hidden;
  
}
.calendar-section::before {

    content: "";
    position: absolute;
    top: -30%;
    left: -20%;
    width: 50%;
    height: 150%;
    background: radial-gradient(circle, var(--theme-primary) 0%, transparent 60%);
    opacity: 0.08;
    border-radius: 50%;
    animation: roundedFloat 15s ease-in-out infinite reverse;
  
}
.calendar-section .calendar-card__calendar,
.calendar-section .calendar-card__events{
    color: var(--gamestextcolor);
}
.calendar-header {

    background: linear-gradient(135deg, var(--theme-primary), rgb(from var(--theme-primary) r g b / 0.8));
    color: var(--primarybgcolor);
    font-family: var(--fonttitle);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: none;
    letter-spacing: 0;
    padding: 20px 25px;
    border-radius: 20px 20px 0 0;
  
}
.match-card {

    background: #fff !important;
    border: none !important;
    border-radius: 20px !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important;
    position: relative;
    overflow: hidden;
    padding: 20px;

}

/* Calendar recent games match event-item look on front page */
.calendar-card__recent .match-card {
  background: var(--gamessecondarycolor) !important;
  color: var(--gameshighlightcolor);
}

.calendar-card__recent .match-card h6,
.calendar-card__recent .match-card small {
  color: var(--gameshighlightcolor) !important;
}

.calendar-card__recent .match-card .badge {
  background: var(--theme-primary) !important;
  color: var(--primarybgcolor) !important;
}
.match-card::before {

    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--theme-primary), var(--theme-accent));
    border-radius: 20px 20px 0 0;
    transform: scaleX(0);
    transition: transform 0.4s ease;
  
}
.match-card::after {

    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: var(--theme-primary);
    opacity: 0.08;
    border-radius: 50%;
    transition: all 0.4s ease;
  
}
.match-card:hover {

    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-radius: 25px;
  
}
.match-card:hover::before {

    transform: scaleX(1);
  
}
.match-card:hover::after {

    transform: scale(1.5);
    opacity: 0.12;
  
}
.match-card .badge {

    background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent)) !important;
    color: var(--theme-secondary) !important;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  
}
.event-item .badge-event {

    background: var(--theme-primary) !important;
    color: var(--primarybgcolor) !important;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.55rem;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    white-space: normal;
  
}
.match-card h6 {

    font-family: var(--fonttitle);
    font-weight: 700;
    font-size: 1rem;
    color: #000;
  
}
.event-item {

    background: var(--gamessecondarycolor);
    color: var(--gameshighlightcolor);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-weight: 600;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    padding: 20px;
  
}
.event-item::before {

    content: "";
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
  
}
.event-item::after {
    top: -35px;
    content: "●";
    position: absolute;
    right: -5px;
    font-size: 3rem;
    opacity: 0.15;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: scale(4);
}
.event-item:hover {

    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border-radius: 25px;
  
}
.event-item:hover::before {

    opacity: 1;
    transform: translate(30%, 30%);
  
}
.event-item:hover::after {
    right: 20px;
    opacity: 0.3;
    transform: scale(6);
    top: -25px;
}
.event-item h6 {

    font-family: var(--fonttitle);
    font-weight: 700;
    font-size: 1rem;
    position: relative;
    z-index: 1;
    color: var(--gameshighlightcolor);
  
}
.event-item small {

    position: relative;
    z-index: 1;
    color: var(--gameshighlightcolor);
    font-weight: 500;
  
}
/* Calendar day styling */
.calendar-day.event-day {
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent)) !important;
  color: var(--primarybgcolor) !important;
  border: none !important;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.calendar-day.event-day::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.calendar-day.event-day .day-number {
  position: relative;
  z-index: 1;
}

.calendar-day.event-day:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  border-radius: 16px !important;
}

.calendar-day.event-day:hover::before {
  opacity: 1;
  transform: translate(30%, 30%);
}

/* Banner Section */
.banner-section {

    background: var(--bannersbgcolor);
    padding: 80px 0;
  
}
.banner-card {

    overflow: hidden;
    border-radius: 24px !important;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
    display: block;
  
}
.banner-card::after {

    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--theme-primary) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 24px;
  
}
.banner-card:hover::after {

    opacity: 0.3;
  
}
.banner-card:hover {

    transform: scale(1.08) rotate(1deg);
    z-index: 10;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  
}
.banner-card img {

    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 24px;
  
}
.banner-card:hover img {

    transform: scale(1.1);
    border-radius: 30px;
  
}
/* Carousel */
.hero-carousel {

    position: relative;
    overflow: hidden;
    background: var(--highlightcolor);
}
.hero-carousel > .carousel {
  z-index: 10;
  border-radius: 0 0 50px 50px;
  overflow: hidden;
}
.hero-carousel .carousel-item {

    position: relative;
  
}
.hero-carousel .carousel-item::after {

    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 70%, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
  
}
.hero-carousel .carousel-caption {

    background: transparent;
    z-index: 10;
    text-align: left;
    left: 10%;
    right: 30%;
    bottom: 20%;
  
}
.hero-carousel .carousel-caption h2 {

    font-family: var(--fonttitle);
    font-weight: 800;
    font-size: clamp(2.5rem, 7vw, 5rem);
    text-transform: none;
    letter-spacing: -2px;
    line-height: 1;
    text-shadow: none;
    animation: roundedTextReveal 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  
}
.hero-carousel .carousel-caption h2 .highlight {

    color: var(--theme-primary);
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  
}
.hero-carousel .carousel-caption p {

    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
    max-width: 500px;
    animation: roundedTextReveal 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
    opacity: 0;
  
}
.hero-carousel .carousel-indicators {

    justify-content: flex-start !important;
    left: 10% !important;
    bottom: 10% !important;
    transform: none !important;
  
}
.hero-carousel .carousel-indicators button {

    width: 14px !important;
    height: 14px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.3) !important;
    border: none !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin: 0 6px;
  
}
.hero-carousel .carousel-indicators button.active {

    background: var(--theme-primary) !important;
    width: 40px !important;
    border-radius: 7px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  
}
/* Sponsor Section */
.sponsors-top-spacing {
  height: 200px; 
  width: 100%; 
  background: var(--bannersbgcolor); 
  transform: translateY(-200px); 
  position: absolute;
}

.sponsor-section {

    background: var(--bannersbgcolor);
    padding: 50px 0;
  
}
.sponsor-logo {

    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 20px;
    padding: 15px;
  
}
.sponsor-logo:hover {

    transform: scale(1.15) rotate(-3deg);
    background: rgba(255, 255, 255, 0.1);
  
}

/* Rounded Theme Mobile Menu */
.mobile-menu-panel {
  background: var(--primarybgcolor);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.3);
  border-radius: 40px 0 0 40px;
}

.mobile-menu-panel-header {
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent));
  color: var(--primarybgcolor);
  border-radius: 30px 0 0 0;
}

.mobile-menu-header {
  background: rgba(255, 255, 255, 0.08);
  color: var(--theme-primary);
  margin: 10px;
}

.mobile-menu-arrow {
  color: var(--primarytextcolor);
}

.mobile-menu-link,
.mobile-menu-toggle,
.mobile-menu-parent-link,
.mobile-menu-parent-text {
  color: var(--primarytextcolor);
  margin: 4px 10px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-menu-link:hover,
.mobile-menu-toggle:hover,
.mobile-menu-parent-link:hover,
.mobile-menu-parent-text:hover {
  color: var(--theme-primary);
  transform: translateX(5px);
}

.mobile-menu-section-title {
  font-size: 0.7rem;
  text-align: center;
  color: var(--theme-primary);
  font-family: var(--fonttitle);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.6rem;
  backdrop-filter: contrast(0.9);
}

.mobile-submenu {
  background: rgba(255, 255, 255, 0.1);
  margin: 8px 15px;
}

/* Rounded Theme Animations */
@keyframes roundedFadeUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes roundedBounceIn {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(-20px);
  }
  60% {
    transform: scale(1.05) translateY(5px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes roundedPulse {
  0%, 100% {
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(1.2);
  }
}

@keyframes roundedFloat {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(5deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(-3deg);
  }
}

@keyframes roundedTextReveal {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ================================
   SCROLL ANIMATIONS - Rounded
   ================================ */
.scroll-fade-up {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: all 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-fade-up.scroll-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.scroll-fade-left {
  opacity: 0;
  transform: translateX(-60px) rotate(-3deg);
  transition: all 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-fade-left.scroll-visible {
  opacity: 1;
  transform: translateX(0) rotate(0);
}

.scroll-fade-right {
  opacity: 0;
  transform: translateX(60px) rotate(3deg);
  transition: all 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-fade-right.scroll-visible {
  opacity: 1;
  transform: translateX(0) rotate(0);
}

.scroll-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-scale.scroll-visible {
  opacity: 1;
  transform: scale(1);
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.9);
  transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-reveal.scroll-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.scroll-slide-up {
  opacity: 0;
  transform: translateY(100px);
  transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-slide-up.scroll-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Rounded Staggered animations with bounce */
.scroll-stagger-container .scroll-stagger-item {
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: var(--stagger-delay, 0s);
}

.scroll-stagger-container.scroll-visible .scroll-stagger-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Rounded blob reveal effect */
.scroll-blob-reveal {
  opacity: 0;
  transform: scale(0.7);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-blob-reveal.scroll-visible {
  opacity: 1;
  transform: scale(1);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}


/* ================================
   Rounded Theme Buttons
   ================================ */
.btn-theme-primary,
.v-btn.btn-theme-primary,
.v-btn--variant-elevated,
.v-btn--variant-flat {
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent)) !important;
  color: var(--primarybgcolor) !important;
  border: none !important;
  border-radius: 50px !important;
  font-family: var(--fonttitle);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  padding: 12px 32px;
}

.btn-theme-primary:hover,
.v-btn.btn-theme-primary:hover,
.v-btn--variant-elevated:hover,
.v-btn--variant-flat:hover {
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25) !important;
  border-radius: 55px !important;
}

.btn-theme-secondary,
.v-btn.btn-theme-secondary {
  background: var(--theme-secondary) !important;
  color: var(--theme-primary) !important;
  border-radius: 50px !important;
  font-weight: 700;
}

.btn-theme-outline,
.v-btn.btn-theme-outline,
.v-btn--variant-outlined {
  background: transparent !important;
  color: var(--theme-primary) !important;
  border: 2px solid var(--theme-primary) !important;
  border-radius: 50px !important;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 10px 30px !important;
}

.v-btn--variant-outlined:hover {
  background: var(--theme-primary) !important;
  color: var(--theme-secondary) !important;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Override Vuetify button colors */
.v-btn--color-primary {
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent)) !important;
  color: var(--gameshighlightcolor) !important;
  border-radius: 50px !important;
}


/* ================================
   Rounded Theme All News Button
   ================================ */
.btn-all-news,
a.btn-all-news {
  background: transparent !important;
  color: var(--highlightcolor-inversed) !important;
  border: 1px solid var(--highlightcolor-inversed) !important;
  font-family: var(--fonttitle);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 36px;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none !important;
  display: inline-block;
}

.btn-all-news:hover,
a.btn-all-news:hover {
  background: transparent !important;
  color: var(--highlightcolor-inversed) !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 24px rgb(from var(--highlightcolor-inversed) r g b / 0.1);
}


/* ================================
   Rounded Theme Tabs - Outlined Style
   ================================ */
.themed-tab.nav-link {
  background: transparent !important;
  color: var(--theme-primary) !important;
  border: 2px solid var(--theme-primary) !important;
  font-family: var(--fonttitle);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 28px;
  border-radius: 50px !important;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.themed-tab.nav-link:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.themed-tab.nav-link.active {
  background: var(--theme-primary) !important;
  background-color: var(--theme-primary) !important;
  color: var(--primarybgcolor) !important;
  border-color: var(--theme-primary) !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* ================================
   Rounded Theme - Games Page Tabs
   ================================ */
.year-tab.nav-link {
  font-family: var(--fonttitle);
  font-weight: 600;
  border-radius: 20px !important;
  padding: 8px 20px !important;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.year-tab.nav-link:hover {
  background: rgba(from var(--theme-primary) r g b / 0.1);
  transform: scale(1.05);
}

.year-tab.nav-link.active {
  background: var(--theme-primary) !important;
  color: var(--primarybgcolor) !important;
  border-radius: 20px !important;
  border: none !important;
  transform: scale(1.05);
}

.month-tab.btn {
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent, var(--theme-primary))) !important;
  color: var(--primarybgcolor) !important;
  border: none !important;
  font-family: var(--fonttitle);
  font-weight: 700;
  border-radius: 25px !important;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.month-tab.btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent, var(--theme-primary))) !important;
  color: var(--primarytextcolor) !important;
}

.month-tab.btn.active {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.month-tab.btn .badge {
  background: rgba(0, 0, 0, 0.2) !important;
}

.year-tab.nav-link:focus,
.month-tab.btn:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* ================================
   Rounded Theme - Game Date Display
   ================================ */
.game-date-display {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.game-date-display .event-day {
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent, var(--theme-primary))) !important;
  color: var(--primarybgcolor) !important;
  font-family: var(--fonttitle);
  font-weight: 700;
  font-size: 1.5rem;
  border: none !important;
  border-radius: 15px 0 0 0 !important;
}

.game-date-display .event-month {
  background: var(--theme-secondary, #1a1a1a) !important;
  color: var(--theme-primary) !important;
  font-family: var(--fonttitle);
  font-weight: 600;
  font-size: 1.5rem;
  border: none !important;
  border-radius: 0 15px 0 0 !important;
}

.game-date-display .event-time {
  background: #ffffff !important;
  color: #1a1a1a !important;
  font-family: var(--fonttitle);
  font-weight: 600;
  border: none !important;
  border-radius: 0 0 15px 15px !important;
}

/* ================================
   Rounded Theme - News Archive List
   ================================ */
.news-archive-list--rounded {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.news-archive-list--rounded .news-archive-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.news-archive-list--rounded .news-archive-item:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.news-archive-list--rounded .news-archive-item-content {
  flex: 1;
  min-width: 0;
}

.news-archive-list--rounded .news-archive-item-title {
  font-family: var(--fonttitle);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.news-archive-list--rounded .news-archive-item-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.news-archive-list--rounded .news-archive-item-date {
  background: var(--theme-primary);
  color: var(--primarybgcolor, #1a1a1a);
  padding: 2px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
}

.news-archive-list--rounded .news-archive-item-category {
  color: #888;
  font-weight: 500;
}

.news-archive-list--rounded .news-archive-item-arrow {
  color: var(--theme-primary);
  font-size: 1.2rem;
  margin-left: 1rem;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.news-archive-list--rounded .news-archive-item:hover .news-archive-item-arrow {
  transform: translateX(6px);
}

/* ================================
   Rounded Theme - Games Archive List
   ================================ */
.games-archive-list--rounded {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.games-archive-list--rounded .games-archive-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.games-archive-list--rounded .games-archive-item:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.games-archive-list--rounded .games-archive-item-date {
  flex-shrink: 0;
  background: var(--theme-primary);
  color: var(--primarybgcolor, #1a1a1a);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
  min-width: 85px;
  text-align: center;
}

.games-archive-list--rounded .games-archive-item-main {
  flex: 1;
  min-width: 0;
}

.games-archive-list--rounded .games-archive-item-title {
  font-family: var(--fonttitle);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.games-archive-list--rounded .games-archive-item:hover .games-archive-item-title {
  color: var(--theme-primary);
}

.games-archive-list--rounded .games-archive-item-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #888;
}

.games-archive-list--rounded .games-archive-item-league {
  font-weight: 600;
  color: #666;
}

.games-archive-list--rounded .games-archive-item-place::before,
.games-archive-list--rounded .games-archive-item-team::before {
  content: "·";
  margin-right: 0.5rem;
}

.games-archive-list--rounded .games-archive-item-result {
  flex-shrink: 0;
  text-align: right;
  min-width: 90px;
}

.games-archive-list--rounded .games-archive-item-score {
  font-family: var(--fonttitle);
  font-size: 1.3rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 12px;
}

.games-archive-list--rounded .games-archive-item-periods {
  display: block;
  font-size: 0.7rem;
  color: #999;
  margin-top: 4px;
  text-align: center;
}

@media (max-width: 767px) {
  .games-archive-list--rounded .games-archive-item {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem;
  }

  .games-archive-list--rounded .games-archive-item-result {
    width: 100%;
    text-align: left;
    min-width: auto;
  }
}

/* ================================
   Rounded Theme - Documents Archive List
   ================================ */
.documents-archive-list--rounded {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.documents-archive-list--rounded .documents-archive-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 1.5rem;
  text-decoration: none;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.documents-archive-list--rounded .documents-archive-item:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.documents-archive-list--rounded .documents-archive-item-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(from var(--theme-primary) r g b / 0.15);
  color: #1a1a1a;
  font-size: 1.3rem;
  border-radius: 50%;
}

.documents-archive-list--rounded .documents-archive-item-content {
  flex: 1;
  min-width: 0;
}

.documents-archive-list--rounded .documents-archive-item-name {
  font-family: var(--fonttitle);
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.15rem;
}

.documents-archive-list--rounded .documents-archive-item:hover .documents-archive-item-name {
  color: var(--theme-primary);
}

.documents-archive-list--rounded .documents-archive-item-meta {
  display: flex;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #888;
}

.documents-archive-list--rounded .documents-archive-item-category {
  background: rgb(from var(--theme-primary) r g b / 0.15);
  color: var(--theme-primary, #1a1a1a);
  padding: 1px 10px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.75rem;
}

.documents-archive-list--rounded .documents-archive-item-description {
  color: #999;
}

.documents-archive-list--rounded .documents-archive-item-download {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(from var(--theme-primary) r g b / 0.1);
  color: var(--theme-primary);
  border-radius: 50%;
  font-size: 0.85rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.documents-archive-list--rounded .documents-archive-item:hover .documents-archive-item-download {
  background: var(--theme-primary);
  color: var(--theme-secondary, #1a1a1a);
  transform: scale(1.1);
}

/* ================================
   Rounded Theme - Team Contacts
   ================================ */
.team-contacts-grid--rounded {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.team-contacts-grid--rounded .team-contacts-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-contacts-grid--rounded .team-contacts-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.team-contacts-grid--rounded .team-contacts-card-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
}

.team-contacts-grid--rounded .team-contacts-card-image {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 16px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-contacts-grid--rounded .team-contacts-card-image:hover {
  transform: scale(1.05);
}

.team-contacts-grid--rounded .team-contacts-card-info {
  flex: 1;
  min-width: 0;
}

.team-contacts-grid--rounded .team-contacts-card-title {
  font-family: var(--fonttitle);
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.team-contacts-grid--rounded .team-contacts-card-section {
  color: var(--theme-primary);
  margin-right: 0.5rem;
}

.team-contacts-grid--rounded .team-contacts-card-email {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: var(--theme-primary);
  text-decoration: none;
  background: rgb(from var(--theme-primary) r g b / 0.15);
  padding: 2px 12px;
  border-radius: 20px;
  font-weight: 600;
}

.team-contacts-grid--rounded .team-contacts-card-email:hover {
  background: rgb(from var(--theme-primary) r g b / 0.25);
}

.team-contacts-grid--rounded .team-contacts-officials {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
  padding: 1.25rem;
}

.team-contacts-grid--rounded .team-contacts-person {
  display: flex;
  flex-direction: column;
  padding: 0.85rem 1rem;
  text-decoration: none;
  color: inherit;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 14px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-contacts-grid--rounded .team-contacts-person:hover {
  background: rgb(from var(--theme-primary) r g b / 0.1);
  transform: translateY(-2px);
}

.team-contacts-grid--rounded .team-contacts-person-name {
  font-family: var(--fonttitle);
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
}

.team-contacts-grid--rounded .team-contacts-person:hover .team-contacts-person-name {
  color: var(--theme-primary);
}

.team-contacts-grid--rounded .team-contacts-person-role {
  font-size: 0.78rem;
  color: #999;
  margin-top: 0.15rem;
}

@media (max-width: 767px) {
  .team-contacts-grid--rounded .team-contacts-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .team-contacts-grid--rounded .team-contacts-card-image {
    width: 100%;
    height: 120px;
    border-radius: 16px;
  }

  .team-contacts-grid--rounded .team-contacts-officials {
    grid-template-columns: 1fr;
  }
}

/* ================================
   Rounded Theme - Modal
   ================================ */
.modal--rounded .modal-content {
  border: none;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.modal--rounded .modal-header {
  background: var(--theme-primary);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1.25rem 1.5rem;
  border-radius: 24px 24px 0 0;
}

.modal--rounded .modal-title {
  font-family: var(--fonttitle);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primarybgcolor, #1a1a1a);
}

.modal--rounded .modal-body {
  padding: 1.5rem;
  line-height: 1.7;
}

.modal--rounded .modal-body div + div {
  margin-top: 0.5rem;
}

.modal--rounded .modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1rem 1.5rem;
  border-radius: 0 0 24px 24px;
}

.modal--rounded .modal-footer .btn {
  border: none;
  border-radius: 50px;
  background: var(--theme-primary);
  color: var(--primarybgcolor, #1a1a1a);
  font-family: var(--fonttitle);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1.75rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal--rounded .modal-footer .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgb(from var(--theme-primary) r g b / 0.3);
}

.modal--rounded .btn-close {
  opacity: 0.5;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal--rounded .btn-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.modal--rounded .modal-dialog {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ================================
   Rounded Theme - News Article
   ================================ */
.news-article--rounded .news-article-hero {
  margin-bottom: 1.5rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.news-article--rounded .news-article-hero-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.news-article--rounded .news-article-hero:hover .news-article-hero-image {
  transform: scale(1.03);
}

.news-article--rounded .news-article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.news-article--rounded .news-article-meta-team {
  font-weight: 600;
  color: var(--theme-primary);
  background: rgb(from var(--theme-primary) r g b / 0.12);
  padding: 2px 12px;
  border-radius: 20px;
  filter: grayscale(.5);
}

.news-article--rounded .news-article-meta-date {
  color: #888;
}

.news-article--rounded .news-article-title {
  font-family: var(--fonttitle);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.25;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

.news-article--rounded .news-article-body {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

.news-article--rounded .news-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Sidebar */
.news-article--rounded .news-article-sidebar {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.news-article--rounded .news-article-sidebar-title {
  font-family: var(--fonttitle);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 1rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.news-article--rounded .news-article-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.news-article--rounded .news-article-sidebar-item {
  display: flex;
  flex-direction: column;
  padding: 0.65rem 0.85rem;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.news-article--rounded .news-article-sidebar-item:hover {
  background: rgb(from var(--theme-primary) r g b / 0.08);
  transform: translateX(4px);
}

.news-article--rounded .news-article-sidebar-item-title {
  font-family: var(--fonttitle);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.3;
}

.news-article--rounded .news-article-sidebar-item:hover .news-article-sidebar-item-title {
  filter: opacity(0.7) !important;
}

.news-article--rounded .news-article-sidebar-item-date {
  font-size: 0.75rem;
  color: #999;
  margin-top: 0.15rem;
}

.news-article--rounded .news-article-sidebar-empty {
  color: #999;
  font-size: 0.9rem;
  padding: 0.5rem 0;
}

/* ================================
   Rounded Theme - Form Controls
   ================================ */
.form-control,
.form-select {
  --theme-primary: var(--theme-primary-darker);
  border: 2px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  color: #1a1a1a;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 4px rgb(from var(--theme-primary) r g b / 0.12);
  outline: none;
  transform: scale(1.01);
}

.form-control::placeholder {
  color: #bbb;
  font-weight: 400;
}

.player-name {
  background-color: var(--theme-primary) !important;
  filter: grayscale(0.25);
  color: var(--theme-primary) !important;
}

.player-name span, .player-name h2 {
  color: var(--primarybgcolor) !important;
}

.player-number {
  color: #3a3a3a !important;
}

/* ================================
   SubsiteDescription - Rounded
   Soft, bubbly, floating glow
   ================================ */
#subsitedescription {
  background: var(--highlightcolor);
  color: var(--highlightcolor-inversed) !important;
  border-radius: 0px;
  position: relative;
  overflow: hidden;
  z-index: 2;
  padding: 0rem 0;
}



#subsitedescription::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--theme-primary), transparent);
  border-radius: 3px;
}

#subsitedescription.description {
  border-top: none;
  border-bottom: none;
}

#subsitedescription .container {
  position: relative;
  z-index: 1;
}

#subsitedescription span {
  font-family: var(--fonttitle);
  font-size: 1.4rem !important;
  font-weight: 600;
  line-height: 1.6;
  display: inline-block;
  padding: 0.5rem 1.75rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@media screen and (max-width: 768px) {
  #subsitedescription span {
    font-size: 1rem !important;
  }
}

.lang-btn.active {
  background: var(--theme-primary);
  color: var(--primarybgcolor);
}

/* Inner pages with hardcoded light backgrounds use a darker theme-primary
   so accents stay readable. Any var(--theme-primary) inside these scopes
   automatically resolves to the darker variant. */
.news-archive-list--rounded,
.games-archive-list--rounded,
.documents-archive-list--rounded,
.news-article--rounded,
.game-page--rounded,
.games-page--rounded,
.team-contacts-grid--rounded,
.modal--rounded,
.players-list--rounded,
.officials-list--rounded {
  --primarybgcolor: var(--primarybgcolor-lighter);
  --theme-secondary: var(--primarybgcolor-lighter);
  --theme-primary: var(--theme-primary-darker);
  --theme-accent: var(--theme-primary-darker);
}