/* ============================================
   ROCKETPLAY AU - BOLD GEOMETRIC DESIGN
   Diagonal sections, skewed cards, unique shapes
   ============================================ */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Space Grotesk', system-ui, sans-serif;
	font-size: 17px;
	line-height: 1.7;
	color: #1a1a2e;
	background: #fafafa;
	overflow-x: hidden;
}

a {
	color: #e6b800;
	text-decoration: none;
	transition: all 0.3s ease;
}

a:hover {
	color: #ffd000;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ===== HEADER - Minimal Top Bar ===== */
header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: #0d0d12;
}

.header-wrapper {
	max-width: 1400px;
	height: 72px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 32px;
}

header img {
	display: block;
	width: auto;
	height: auto;
	max-height: 46px;
}

.header-right {
	display: flex;
	align-items: center;
	gap: 16px;
}

.mobile-menu {
	display: none;
}

/* ===== BUTTONS - Skewed Style ===== */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 32px;
	font-size: 14px;
	font-weight: 700;
	font-family: 'Space Grotesk', sans-serif;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	cursor: pointer;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	text-decoration: none;
	border: none;
	position: relative;
	transform: skewX(-6deg);
}

.button span {
	display: inline-block;
	transform: skewX(6deg);
	animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% { transform: skewX(6deg) scale(1); }
	50% { transform: skewX(6deg) scale(1.05); }
}

.button:hover {
	transform: skewX(-6deg) translateY(-3px);
	text-decoration: none;
}

.button.primary {
	color: #0d0d12;
	background: #ffd000;
	box-shadow: 4px 4px 0 #b39400;
}

.button.primary:hover {
	box-shadow: 6px 6px 0 #b39400;
}

.button.secondary {
	color: #ffd000;
	background: transparent;
	border: 3px solid #ffd000;
	box-shadow: 4px 4px 0 rgba(255, 208, 0, 0.3);
}

.button.secondary:hover {
	background: rgba(255, 208, 0, 0.1);
}

.header-button {
	padding: 12px 24px;
	font-size: 12px;
}

/* ===== TICKER - Under Header (Seamless Loop) ===== */
.ticker-bar {
	position: fixed;
	top: 72px;
	left: 0;
	right: 0;
	z-index: 999;
	background: #ffd000;
	padding: 6px 0;
	overflow: hidden;
}

.ticker-content {
	display: flex;
	width: max-content;
	animation: ticker 25s linear infinite;
	will-change: transform;
}

@keyframes ticker {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

.ticker-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0 40px;
	font-size: 12px;
	font-weight: 700;
	color: #0d0d12;
	text-transform: uppercase;
	letter-spacing: 1px;
	flex-shrink: 0;
}

.ticker-item__value {
	color: #0d0d12;
	background: #fff;
	padding: 2px 8px;
	border-radius: 4px;
}

.ticker-item::after {
	content: '◆';
	margin-left: 32px;
	opacity: 0.4;
}

/* ===== HERO - Diagonal Split Design ===== */
.section-hero {
	min-height: 100vh;
	padding: 160px 0 100px;
	background: #0d0d12;
	position: relative;
	overflow: hidden;
}

.section-hero::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 55%;
	height: 100%;
	background: linear-gradient(135deg, #1a1a28 0%, #0d0d12 100%);
	clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.section-hero::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	right: 0;
	height: 80px;
	background: #fafafa;
	clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
}

.section-hero .container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto auto;
	gap: 20px 60px;
	align-items: center;
	position: relative;
	z-index: 2;
}

.section-hero__text-top {
	grid-column: 1;
	grid-row: 1;
}

.section-hero__buttons {
	grid-column: 1;
	grid-row: 2;
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin: 20px 0;
}

.section-hero__buttons .button {
	padding: 18px 40px;
	font-size: 15px;
}

.section-hero__text-bottom {
	grid-column: 1;
	grid-row: 3;
}

.section-hero__image-wrapper {
	grid-column: 2;
	grid-row: 1 / 4;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

.section-hero__badge {
	display: inline-block;
	background: #ffd000;
	color: #0d0d12;
	padding: 8px 20px;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 24px;
	transform: skewX(-6deg);
}

.section-hero__badge span {
	display: inline-block;
	transform: skewX(6deg);
}

.section-hero h1 {
	font-family: 'Space Grotesk', sans-serif;
	font-size: clamp(36px, 5.5vw, 60px);
	font-weight: 700;
	line-height: 1.05;
	color: #ffffff;
	margin-bottom: 28px;
	letter-spacing: -2px;
}

.section-hero h1 .accent {
	color: #ffd000;
	display: block;
}

.section-hero p {
	font-size: 17px;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 20px;
}

.section-hero__image-wrapper::before {
	content: '';
	position: absolute;
	width: 350px;
	height: 350px;
	background: #ffd000;
	opacity: 0.15;
	transform: rotate(45deg);
	z-index: -1;
}

.section-hero__image {
	display: block;
	width: 100%;
	max-width: 400px;
	height: auto;
	position: relative;
	z-index: 2;
	filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

/* ===== TOC - Horizontal Cards ===== */
.toc {
	background: #fafafa;
	padding: 70px 24px;
	position: relative;
}

.toc .container {
	max-width: 1000px;
}

.toc__title {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: #ffd000;
	text-transform: uppercase;
	letter-spacing: 3px;
	margin-bottom: 32px;
	text-align: center;
	background: #0d0d12;
	display: inline-block;
	padding: 12px 28px;
	position: relative;
	left: 50%;
	transform: translateX(-50%) skewX(-6deg);
}

.toc__title span {
	display: inline-block;
	transform: skewX(6deg);
}

.toc ol {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.toc li {
	background: #ffffff;
	border: 2px solid #e8e8e8;
	padding: 20px 24px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.toc li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 4px;
	height: 100%;
	background: #ffd000;
	transform: translateX(-100%);
	transition: transform 0.3s ease;
}

.toc li:hover {
	border-color: #ffd000;
	transform: translateX(4px);
}

.toc li:hover::before {
	transform: translateX(0);
}

.toc a {
	color: #1a1a2e;
	font-weight: 600;
	font-size: 15px;
	display: block;
}

.toc a:hover {
	color: #0d0d12;
	text-decoration: none;
}

/* ===== TABLE - Bold Bordered Style ===== */
.section-table {
	padding: 60px 24px;
	background: #ffffff;
	position: relative;
}

.section-table::before {
	content: '';
	position: absolute;
	top: 0;
	left: 5%;
	right: 5%;
	height: 4px;
	background: repeating-linear-gradient(90deg, #ffd000 0, #ffd000 20px, transparent 20px, transparent 40px);
}

table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	background: #ffffff;
	border: 3px solid #0d0d12;
}

table thead {
	background: #0d0d12;
}

table th {
	padding: 20px 24px;
	text-align: left;
	font-weight: 700;
	font-size: 13px;
	color: #ffd000;
	text-transform: uppercase;
	letter-spacing: 1px;
}

table td {
	padding: 18px 24px;
	border-bottom: 2px solid #e8e8e8;
	color: #1a1a2e;
}

table tbody tr:last-child td {
	border-bottom: none;
}

table tbody tr {
	transition: all 0.3s ease;
}

table tbody tr:hover {
	background: #fffbeb;
}

/* ===== TEXT SECTIONS - Diagonal Separators ===== */
.section-text {
	padding: 80px 24px;
	background: #fafafa;
	position: relative;
}

.section-text:nth-child(odd) {
	background: #ffffff;
}

.section-text::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 40px;
	background: inherit;
	clip-path: polygon(0 0, 100% 100%, 0 100%);
	z-index: 1;
}

.section-text:last-of-type::after {
	display: none;
}

.section-text h2 {
	font-family: 'Space Grotesk', sans-serif;
	font-size: clamp(28px, 4vw, 38px);
	font-weight: 700;
	color: #0d0d12;
	margin-bottom: 32px;
	line-height: 1.2;
	letter-spacing: -1px;
	position: relative;
	display: inline-block;
}

.section-text h2::before {
	content: '';
	position: absolute;
	left: -20px;
	top: 0;
	width: 6px;
	height: 100%;
	background: #ffd000;
}

.section-text h3 {
	font-family: 'Space Grotesk', sans-serif;
	font-size: clamp(20px, 3vw, 24px);
	font-weight: 700;
	color: #1a1a2e;
	margin: 40px 0 18px;
	padding-left: 16px;
	border-left: 4px solid #e8e8e8;
}

.section-text p {
	margin-bottom: 18px;
	color: #444;
	line-height: 1.85;
}

.inblock-image {
	display: block;
	width: 100%;
	max-width: 400px;
	height: auto;
	margin: 40px auto;
	border: 4px solid #0d0d12;
	box-shadow: 12px 12px 0 #ffd000;
}

/* ===== GAME CARDS - Diagonal Cut Style ===== */
.section-cards {
	padding: 60px 24px;
	background: #0d0d12;
	position: relative;
}

.section-cards::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 60px;
	background: #fafafa;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
}

.section-cards .container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
	padding-top: 20px;
}

.card {
	background: #1a1a28;
	width: 260px;
	overflow: hidden;
	transition: all 0.4s ease;
	position: relative;
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.card::before {
	content: '';
	position: absolute;
	bottom: 0;
	right: 0;
	width: 40px;
	height: 40px;
	background: #ffd000;
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
	z-index: 1;
}

.card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(255, 208, 0, 0.2);
}

.card__content {
	padding: 20px;
}

.card__content img {
	width: 100%;
	height: auto;
	margin-bottom: 16px;
}

.card__text strong {
	display: block;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #ffffff;
	text-align: center;
}

.card__btn {
	display: block;
	width: 100%;
	padding: 16px;
	font-size: 13px;
	border-radius: 0;
	transform: none;
	clip-path: none;
}

.card__btn span {
	transform: none;
}

/* ===== FAQ - Bordered Accordion ===== */
.section-faq {
	padding: 80px 24px;
	background: #fafafa;
}

.section-faq h2 {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 32px;
	font-weight: 700;
	color: #0d0d12;
	text-align: center;
	margin-bottom: 48px;
	letter-spacing: -1px;
}

.section-faq .container {
	max-width: 800px;
}

.faq-item {
	background: #ffffff;
	margin-bottom: 12px;
	border: 2px solid #e8e8e8;
	transition: all 0.3s ease;
}

.faq-item:hover {
	border-color: #ccc;
}

.faq-item[open] {
	border-color: #ffd000;
	border-width: 3px;
}

.faq-item summary {
	padding: 22px 28px;
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #1a1a2e;
	transition: all 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item summary::after {
	content: '+';
	font-size: 28px;
	font-weight: 400;
	color: #ffd000;
	transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
	transform: rotate(45deg);
}

.faq-item p {
	padding: 0 28px 24px;
	line-height: 1.8;
	color: #555;
}

/* ===== UPDATE DATE ===== */
.update-date {
	text-align: center;
	padding: 24px;
	background: #ffffff;
	color: #888;
	font-size: 14px;
	border-top: 2px solid #e8e8e8;
}

/* ===== NEWS SECTION - CAROUSEL ===== */
.section-news {
	padding: 60px 24px;
	background: #0d0d12;
	overflow: hidden;
}

.section-news h2 {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 28px;
	font-weight: 700;
	color: #ffffff;
	text-align: center;
	margin-bottom: 40px;
	letter-spacing: -1px;
}

.news-carousel {
	position: relative;
	max-width: 1100px;
	margin: 0 auto;
	overflow: hidden;
}

.news-track {
	display: flex;
	gap: 24px;
	animation: newsScroll 30s linear infinite;
	width: max-content;
}

.news-track:hover {
	animation-play-state: paused;
}

@keyframes newsScroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

.news-card {
	background: #1a1a28;
	padding: 28px;
	border-left: 4px solid #ffd000;
	transition: all 0.3s ease;
	min-width: 320px;
	max-width: 320px;
	flex-shrink: 0;
}

.news-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(255, 208, 0, 0.15);
}

.news-card__date {
	font-size: 12px;
	color: #ffd000;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 12px;
	font-weight: 600;
}

.news-card__title {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 12px;
	line-height: 1.4;
}

.news-card__text {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.7;
}

/* ===== HEADER NAVIGATION ===== */
.header-nav {
	display: flex;
	align-items: center;
	gap: 24px;
}

.header-nav a {
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.3s ease;
	padding: 8px 0;
}

.header-nav a:hover {
	color: #ffd000;
}

/* ===== FOOTER - Minimal Dark ===== */
footer {
	background: #0d0d12;
	padding: 60px 24px 40px;
	text-align: center;
	position: relative;
}

footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: #ffd000;
}

.footer-wrapper {
	max-width: 1200px;
	margin: 0 auto;
}

footer img {
	display: block;
	width: auto;
	height: auto;
	max-height: 44px;
	margin: 0 auto 24px;
}

footer p {
	color: rgba(255, 255, 255, 0.5);
	font-size: 14px;
	margin-bottom: 8px;
}

/* ===== BURGER MENU ===== */
.burger-toggle {
	display: none;
	opacity: 0;
	pointer-events: none;
}

.dropdown-menu {
	display: none;
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	background: #1a1a28;
	border: 2px solid #ffd000;
	min-width: 200px;
	z-index: 1001;
	padding: 8px;
}

.dropdown-menu a {
	display: block;
	padding: 14px 18px;
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.dropdown-menu a:hover {
	background: rgba(255, 208, 0, 0.1);
	color: #ffd000;
	text-decoration: none;
}

.burger-toggle:checked ~ .dropdown-menu {
	display: block;
}

.burger {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	background: #ffd000;
	border: none;
	font-size: 22px;
	color: #0d0d12;
	transform: skewX(-6deg);
	transition: all 0.3s ease;
}

.burger:hover {
	background: #ffe44d;
}

/* ===== RESPONSIVE - TABLET ===== */
@media (max-width: 980px) {
	.section-hero {
		min-height: auto;
		padding: 150px 24px 80px;
	}

	.section-hero::before {
		width: 100%;
		clip-path: none;
		opacity: 0.5;
	}

	.section-hero .container {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 24px;
	}

	/* Mobile order: text-top → image → buttons → text-bottom */
	.section-hero__text-top {
		grid-column: 1;
		grid-row: 1;
		order: 1;
	}

	.section-hero__image-wrapper {
		grid-column: 1;
		grid-row: 2;
		order: 2;
		width: 100%;
		margin: 0 auto;
	}

	.section-hero__image {
		display: block;
		width: 100%;
		max-width: 400px;
		height: auto;
		margin: 0 auto;
	}

	.section-hero__buttons {
		grid-column: 1;
		grid-row: 3;
		order: 3;
		justify-content: center;
	}

	.section-hero__text-bottom {
		grid-column: 1;
		grid-row: 4;
		order: 4;
	}

	.section-hero__badge {
		transform: skewX(0);
	}

	.section-hero__badge span {
		transform: skewX(0);
	}

	.section-hero__image {
		width: 100%;
		max-width: 320px;
		height: auto;
	}

	.toc ol {
		grid-template-columns: 1fr;
	}

	.section-hero h1 {
		font-size: clamp(32px, 6vw, 44px);
	}
}

/* ===== RESPONSIVE - MOBILE ===== */
@media (max-width: 768px) {
	.header-wrapper {
		height: 64px;
		padding: 0 16px;
	}

	header img {
		max-height: 38px;
	}

	.header-right {
		display: flex;
		align-items: center;
		gap: 10px;
	}

	.header-button {
		padding: 10px 16px;
		font-size: 11px;
	}

	.mobile-menu {
		display: block;
		position: relative;
	}

	.header-nav {
		display: none;
	}

	.ticker-bar {
		top: 64px;
		padding: 5px 0;
	}

	.ticker-item {
		padding: 0 24px;
		font-size: 10px;
	}

	.section-hero {
		padding: 120px 20px 60px;
	}

	.section-hero .container {
		gap: 20px;
	}

	/* Mobile order: text-top → image → buttons → text-bottom */
	.section-hero__text-top {
		order: 1;
	}

	.section-hero__image-wrapper {
		order: 2;
		width: 100%;
	}

	.section-hero__image {
		display: block;
		width: 100%;
		max-width: 400px;
		height: auto;
		margin: 0 auto;
	}

	.section-hero__image-wrapper::before {
		width: 220px;
		height: 220px;
	}

	.section-hero__buttons {
		order: 3;
		flex-direction: column;
		align-items: center;
		gap: 12px;
		margin: 20px 0;
	}

	.section-hero__buttons .button {
		width: 100%;
		max-width: 280px;
		padding: 16px 32px;
	}

	.section-hero__text-bottom {
		order: 4;
	}

	.section-hero h1 {
		font-size: 28px;
		letter-spacing: -1px;
	}

	.section-hero p {
		font-size: 15px;
	}

	.toc {
		padding: 50px 16px;
	}

	.toc__title {
		font-size: 11px;
		padding: 10px 20px;
	}

	.toc li {
		padding: 16px 18px;
	}

	.toc a {
		font-size: 14px;
	}

	.section-table {
		padding: 40px 16px;
	}

	table th,
	table td {
		padding: 14px 16px;
		font-size: 14px;
	}

	.section-text {
		padding: 60px 20px;
	}

	.section-text h2 {
		font-size: 24px;
		padding-left: 24px;
	}

	.section-text h2::before {
		left: 0;
	}

	.section-text h3 {
		font-size: 20px;
	}

	.inblock-image {
		box-shadow: 8px 8px 0 #ffd000;
	}

	.section-cards .container {
		gap: 16px;
	}

	.card {
		width: calc(50% - 8px);
		min-width: 150px;
	}

	.section-faq {
		padding: 60px 20px;
	}

	.section-faq h2 {
		font-size: 26px;
	}

	.faq-item summary {
		font-size: 15px;
		padding: 18px 20px;
	}

	.faq-item p {
		padding: 0 20px 20px;
		font-size: 15px;
	}

	.news-card {
		min-width: 280px;
		max-width: 280px;
		padding: 20px;
	}

	.news-card__title {
		font-size: 15px;
	}

	.section-news {
		padding: 50px 20px;
	}

	.section-news h2 {
		font-size: 24px;
		margin-bottom: 28px;
	}

	footer {
		padding: 50px 16px 30px;
	}

	.burger {
		width: 42px;
		height: 42px;
		font-size: 20px;
	}
}

/* ===== RESPONSIVE - SMALL MOBILE ===== */
@media (max-width: 480px) {
	.header-wrapper {
		height: 60px;
		gap: 8px;
	}

	header img {
		max-height: 32px;
	}

	.header-button {
		padding: 8px 12px;
		font-size: 10px;
	}

	.ticker-bar {
		top: 60px;
	}

	.ticker-item {
		padding: 0 16px;
		font-size: 9px;
	}

	.section-hero {
		padding: 105px 14px 50px;
	}

	.section-hero h1 {
		font-size: 26px;
	}

	.section-hero p {
		font-size: 14px;
	}

	.section-hero__image-wrapper {
		width: 100%;
	}

	.section-hero__buttons .button {
		padding: 14px 28px;
		font-size: 13px;
	}

	.card {
		width: 100%;
		max-width: 280px;
	}

	.toc li {
		padding: 14px 16px;
	}

	footer img {
		max-height: 36px;
	}

	footer p {
		font-size: 13px;
	}
}

/* ===== TABLE RESPONSIVE ===== */
@media (max-width: 600px) {
	.section-table {
		overflow-x: auto;
	}

	table {
		min-width: 500px;
	}

	table th,
	table td {
		white-space: nowrap;
	}
}
