/*============
	Invid.au
	Home page style
============ */

:root {

}

.homepage-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0;
}

/*============
	Hero slider
============ */
.home-hero-row {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 18pt;
	margin-bottom: 18pt;
	min-height: 500px;
}

/* Vertical layout!!! checkem */
@media (max-width: 1080px) {
	.home-hero-row {
		grid-template-columns: 1fr;
		min-height: auto;
	}
}

.hero-carousel {
	position: relative;
	overflow: hidden;
	background-color: var(--primary-black);
	border-radius: 12px;
	border: 1px solid var(--secondary-teal);
	background-clip: padding-box;
	box-shadow: var(--shadow-soft);
	min-height: 500px;
	width: 100%;
}

.slides-container {
	display: flex;
	height: 100%;
	transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
	width: 100%;
}

.slide {
	flex: 0 0 100%;
	height: 100%;
	min-height: 500px;
	position: relative;
	transition: opacity 0.5s ease;
}

.slide-background {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform 10s ease;
}

.slide:hover .slide-background {
	transform: scale(1.05);
}

.slide-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(var(--secondary-teal-rgb), 0.5) 0%, transparent 40%, transparent 100%);
	padding: 16pt;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

/* checkem */
@media (min-width: 768px) {
	.slide-overlay {
		padding: 24pt;
	}
}

.tags-container {
	display: flex;
	gap: 12pt;
}

.tags-container .tag {
	padding: 2pt 6pt;
	border-radius: 4px;
	font-size: 10pt;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: -0.5pt;
}

.tags-container .primary {
	background-color: rgba(var(--primary-accent-rgb), 0.8);
}

.tags-container .secondary {
	background-color: var(--bg-light);
	backdrop-filter: blur(4px);
}

.slide-title {
	font-size: 22pt;
	font-weight: 700;
	text-shadow: var(--shadow-header);
}

@media (min-width: 1024px) {
	.slide-title {
		font-size: 36pt;
	}
}

.slide-description {
	color: var(--text-muted);
	font-size: 12pt;
	line-height: 1.5;
	margin-bottom: 16pt;
	max-width: 85%;
	text-shadow: var(--shadow-body);
}

@media (min-width: 1024px) {
	.slide-description {
		font-size: 14pt
	}
}

.slide-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12pt;
}

.slide-actions .button {
	padding: 10pt 16pt;
	border-radius: 12px;
	font-size: 14pt;
	font-weight: 700;
	text-decoration: none;
	border: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8pt;
	box-shadow: var(--shadow-accent-button);
	transition: background-color 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}

.slide-actions .primary {
	background-color: rgba(var(--primary-accent-rgb), 0.8);
	font-weight: 700;
}

.slide-actions .primary:hover {
	background-color: rgba(var(--primary-accent-hover-rgb), 0.8);
	box-shadow: var(--shadow-light-button);
}

.slide-actions .secondary {
	background-color: var(--bg-light);
	backdrop-filter: blur(4px);
	font-size: 12pt;
	font-weight: 500;
	text-decoration: none;
	border: 1px solid var(--bg-light);
}

.slide-actions .secondary:hover {
	background-color: var(--bg-light-hover);
	border-color: var(--bg-light-hover);
	box-shadow: var(--shadow-light-button);
}

.slider-dots {
	position: absolute;
	bottom: 24pt;
	right: 24pt;
	display: flex;
	gap: 8pt;
	z-index: 20;
}

.dot {
	width: 10pt;
	height: 10pt;
	border-radius: 9999px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background-color: var(--text-muted);
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: var(--shadow-header);
	padding: 0;
}

.dot:hover {
	background-color: rgba(255, 255, 255, 0.6);
}

.dot.active {
	background-color: rgba(var(--primary-accent-rgb), 0.8);
	width: 28pt;
}
.dot.active:hover {
	background-color: rgba(var(--primary-accent-hover-rgb), 0.8);
}

/*============
	Forum activity
============ */
.home-hero-forum {
	height: 500px;
}

.sidebar-widget {
	height: 100%;
	background-color: var(--deep-green);
	border: 1px solid var(--secondary-teal);
	border-radius: 12px;
	padding: 14pt;
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
	box-shadow: var(--shadow-soft);
}

.widget-accent {
	position: absolute;
	top: 0;
	right: 0;
	width: 80pt;
	height: 80pt;
	background-color: rgba(var(--primary-accent-rgb), 0.1);
	border-radius: 9999px;
	filter: blur(48px);
	transform: translateY(-50%) translateX(50%);
}

.widget-tabs {
	display: flex;
	align-items: center;
	gap: 12pt;
	border-bottom: var(--secondary-teal);
	margin-bottom: 16pt;
	position: relative;
	z-index: 10;
}

.widget-tab {
	padding: 0 10pt 10pt;
	font-size: 10pt;
	font-weight: 700;
	color: var(--text-light);
	background: none;
	border: none;
	border-bottom: 2px solid var(--primary-accent);
	cursor: pointer;
	flex: 1;
}

.widget-tab-inactive {
	padding: 0 10pt 10pt;
	font-size: 10pt;
	font-weight: 500;
	color: var(--text-muted);
	background: none;
	border: none;
	border-bottom: 2px solid var(--secondary-teal);
	cursor: pointer;
	flex: 1;
	transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}

.widget-tab-inactive:hover {
	color: var(--text-light);
	border-bottom-color: var(--secondary-teal-hover);
}

.post-list {
	display: grid;
	flex: 1 1 auto;
	overflow-y: auto;
	gap: 8pt;
}

.post-list:not(.active) {
	display: none;
}

.post-item {
	display: flex;
	align-items: center;
	gap: 8pt;
	padding: 8pt;
	background-color: rgba(var(--primary-black-rgb), 0.4);
	border-radius: 12px;
	border: 1px solid var(--secondary-teal);
	cursor: pointer;
	overflow: hidden;
	transition: border-color 0.5s ease, color 0.5s ease;
}

.post-item:hover {
	border-color: rgba(var(--primary-accent-rgb), 0.4);
}

.post-rank {
	font-weight: 700;
	font-size: 12pt;
	width: 20pt;
	text-align: center;
}

.post-rank-1 {
	color: var(--text-light);
}

.post-rank-other {
	color: var(--text-muted);
}

.post-content {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
}

.post-title {
	color: var(--text-light);
	font-size: 11pt;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: block;
	max-width: 100%;
	text-decoration: none;
	transition: color 0.5s ease;
}

.post-meta {
	color: var(--text-muted);
	font-family: var(--font-secondary);
	font-size: 10pt;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.post-item:hover .post-title {
	color: var(--primary-accent);
}

.post-meta .time::before {
	margin: 0 2pt;
}

.post-meta .meta-info {
	display: flex;
	align-items: center;
	gap: 8pt;
	flex-wrap: wrap;
}

.post-meta .meta-item {
	display: flex;
	align-items: center;
	gap: 8pt;
}

.post-meta .meta-item:not(:last-child)::after {
	content: "•";
	margin-left: 8pt;
	color: var(--text-muted);
}

.post-meta .time {
	color: var(--text-muted);
}

.view-all-btn {
	width: 100%;
	margin-top: auto;
	padding-top: 8pt;
	color: var(--primary-accent);
	font-size: 10pt;
	font-weight: 700;
	background: none;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4pt;
	text-decoration: none;
	transition: color 0.2s ease;
	position: relative;
	z-index: 10;
}

.view-all-btn:hover {
	color: var(--primary-accent-hover);
}

.view-all-btn span {
	margin-top: -6pt;
	line-height: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .home-hero-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .home-hero-slider,
  .home-hero-forum {
    height: auto;
  }
  
  .hero-carousel {
    min-height: 400px;
  }
  
  .slide {
    min-height: 400px;
  }
  
  .slide-title {
    font-size: 1.5rem;
  }
  
  .slide-description {
    font-size: 0.875rem;
  }
  
  .sidebar-widget {
    height: auto;
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .hero-carousel {
    min-height: 350px;
  }
  
  .slide {
    min-height: 350px;
  }
  
  .slide-overlay {
    padding: 1rem;
  }
  
  .slide-title {
    font-size: 1.25rem;
  }
  
  .slide-description {
    font-size: 0.75rem;
  }
  
  .slide-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .home-hero-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .home-hero-slider,
  .home-hero-forum {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .home-hero-slider,
  .home-hero-forum {
    height: 300px;
  }
  
  .slide-caption {
    padding: 1.5rem;
    padding-top: 3rem;
    font-size: 1.4rem;
  }
}










:root {
    --primary-dark: #5649c9;
    --secondary: #00cec9;
    --accent: #fd79a8;
    --dark: #1a1a1a;
    --darker: #1e272e;
    --light: #dfe6e9;
    --lighter: #f5f6fa;
    --success: #00b894;
    --warning: #fdcb6e;
    --danger: #d63031;
    --gray: #636e72;
    --gray-light: #b2bec3;
    --card-bg: #1a1a1a;
    --card-border: #3d484d;
    --text-primary: #f5f6fa;
    --text-secondary: #dfe6e9;
  }

/* ===============================
   My Team Card
================================ */
.my-team-card .my-team-header {
  position: relative;
  margin-bottom: 1rem;
}

.my-team-selector {
  width: 100%;
  background: var(--darker);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  padding: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.my-team-selector .label {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.my-team-selector .value {
  font-weight: 600;
}

.my-team-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  z-index: 20;
  overflow: hidden;
}

.my-team-dropdown.hidden {
  display: none;
}

.team-option {
  width: 100%;
  padding: 0.6rem 0.75rem;
  background: none;
  border: none;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
}

.team-option:hover,
.team-option.active {
  background: rgba(255,255,255,0.05);
}

.my-team-members {
  margin: 1rem 0;
}

.member-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-dot.online { background: var(--success); }
.status-dot.offline { background: var(--gray); }

.member-row a {
  color: var(--text-primary);
  text-decoration: none;
}

.member-status {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--success);
}

.my-team-link {
  display: block;
  margin: 0.75rem 0;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.my-team-schedule h4 {
  margin: 1rem 0 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.schedule-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.schedule-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.schedule-dot.scrim {
  background: #fd79a8; /* accent pink/red */
}

.schedule-dot.match {
  border: 2px solid var(--gray-light);
  background: transparent;
}

/* Meta line */
.schedule-meta {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.schedule-info {
  flex: 1;
}

.schedule-info small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.schedule-link {
  font-size: 0.75rem;
  color: var(--primary);
  text-decoration: none;
}

/* Featured Content Section */
.featured-content-section {
  margin-bottom: 3rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title {
	font-size: 28pt;
	color: var(--text-primary);
	margin: 0 0 16pt 0;
	border-bottom: 1px solid var(--secondary-teal);
	padding-bottom: 8pt;
}

.section-tabs {
  display: flex;
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 0.25rem;
}

.tab-btn {
  padding: 0.5rem 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.tab-btn.active {
  background-color: var(--primary);
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.featured-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--card-border);
}

.featured-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.ladder-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.card-badge {
  background-color: var(--primary);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.action-card {
  text-align: center;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.news-card .card-image {
  height: 160px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.news-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 1rem;
}

.card-link:hover {
  text-decoration: underline;
}

/* Main Layout */
.main-layout {
	display: grid;
	grid-template-columns: 1fr 350px;
	gap: 18pt;
}

/* News Section */
.news-section {
	padding: 14pt;
	background-color: var(--deep-green);
	border-radius: 12px;
	border: 1px solid var(--secondary-teal);
}

.news-article {
	margin-bottom: 32pt;
}

.news-article:hover .article-img {
	opacity: 0.8;
}

.article-img {
	width: 90pt;
	height: 90pt;
	background-size: cover;
	background-position: center;
	transition: var(--transition-opacity);
	float: right;
	margin-left: 18pt;
	border-radius: 16px;
	opacity: 1;
}

.article-meta {
  display: flex;
  font-size: 11pt;
  color: var(--text-muted);
}

.article-meta {
	font-family: var(--font-secondary);
}

.article-title {
	font-size: 16pt;
}

.article-title a {
  color: var(--text-primary);
  text-decoration: none;
}

.article-title a:hover {
  color: var(--primary);
}

.article-excerpt {

}

.article-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.article-link:hover {
  text-decoration: underline;
}

/* Sidebar Cards */
.sidebar-card {
	background-color: var(--deep-green);
	border-radius: 12px;
	padding: 14pt;
	margin-bottom: 18pt;
	border: 1px solid var(--secondary-teal);
}

.card-title {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--card-border);
}

/* Next Match Card */
.teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.team-name {
  font-weight: 600;
  color: var(--text-primary);
}

.vs {
  background-color: var(--primary);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.game-info {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.match-timer {
  display: flex;
  justify-content: space-around;
  margin-bottom: 1.5rem;
}

.timer-unit {
  text-align: center;
}

.timer-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.timer-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.match-date {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.match-details-link {
  display: block;
  text-align: center;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.match-details-link:hover {
  text-decoration: underline;
}

/* Server Card */
.server-info {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Stats Card */
.stats-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 18pt;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Matches Card */
.matches-filter {
  margin-bottom: 1rem;
}

.matches-filter label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.matches-filter select {
  width: 100%;
  padding: 0.5rem;
  border-radius: 6px;
  background-color: var(--darker);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
}

.matches-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.match-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--card-border);
}

.match-item:last-child {
  border-bottom: none;
}

.match-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: var(--text-primary);
}

.match-item .team {
  flex: 1;
}

.match-item .score, .match-item .vs {
  margin: 0 0.5rem;
  font-weight: 600;
  color: var(--primary);
}

.match-item:hover a {
  color: var(--primary);
}

/* No Content Messages */
.no-content-message {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem;
  grid-column: 1 / -1;
}
