/**
 * U777 Game main stylesheet.
 *
 * @package U777_Game
 */

/* Design Tokens
--------------------------------------------- */
:root {
	--u777-primary: #D97706;
	--u777-secondary: #F59E0B;
	--u777-bg: #FFFFFF;
	--u777-heading: #111827;
	--u777-text: #6B7280;
	--u777-border: #E5E7EB;
	--u777-shadow-sm: 0 4px 20px rgba(17, 24, 39, 0.06);
	--u777-shadow-md: 0 12px 40px rgba(17, 24, 39, 0.1);
	--u777-shadow-lg: 0 20px 60px rgba(217, 119, 6, 0.18);
	--u777-gradient: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
	--u777-radius-sm: 10px;
	--u777-radius-md: 14px;
	--u777-radius-lg: 20px;
	--u777-radius-xl: 28px;
	--u777-font-heading: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
	--u777-font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
	--u777-container: 1280px;
	--u777-header-height: 90px;
	--u777-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base
--------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--u777-font-body);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--u777-text);
	background-color: var(--u777-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--u777-font-heading);
	color: var(--u777-heading);
	line-height: 1.2;
}

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

a {
	color: inherit;
	text-decoration: none;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Layout
--------------------------------------------- */
.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.u777-container {
	width: 100%;
	max-width: var(--u777-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.site-main--front-page {
	flex: 1;
	padding: 0;
}

/* Buttons
--------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	font-family: var(--u777-font-body);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1;
	border: none;
	border-radius: var(--u777-radius-md);
	cursor: pointer;
	transition: transform var(--u777-transition), box-shadow var(--u777-transition), background var(--u777-transition), color var(--u777-transition), border-color var(--u777-transition);
	text-decoration: none;
	white-space: nowrap;
}

.btn--primary,
.btn--download {
	background: var(--u777-gradient);
	color: #ffffff;
	box-shadow: var(--u777-shadow-lg);
}

.btn--primary:hover,
.btn--download:hover {
	transform: translateY(-3px);
	box-shadow: 0 24px 48px rgba(217, 119, 6, 0.28);
	color: #ffffff;
}

.btn--secondary {
	background: var(--u777-bg);
	color: var(--u777-primary);
	border: 2px solid var(--u777-primary);
	box-shadow: var(--u777-shadow-sm);
}

.btn--secondary:hover {
	transform: translateY(-2px);
	background: rgba(217, 119, 6, 0.04);
	color: var(--u777-primary);
}

.u777-icon {
	flex-shrink: 0;
}

/* Content (non-home templates)
--------------------------------------------- */
.site-main:not(.site-main--front-page) {
	flex: 1;
	max-width: var(--u777-container);
	margin-left: auto;
	margin-right: auto;
	padding: 2rem 1.5rem;
	width: 100%;
}

.entry-header,
.page-header {
	margin-bottom: 1.5rem;
}

.entry-title,
.page-title {
	margin: 0 0 0.5rem;
}

.entry-meta,
.entry-footer {
	font-size: 0.875rem;
	color: var(--u777-text);
}

.entry-content > *:first-child,
.entry-summary > *:first-child {
	margin-top: 0;
}

.post-thumbnail {
	margin-bottom: 1.5rem;
}

/* Footer (premium styles in footer.css)
--------------------------------------------- */

/* Utilities
--------------------------------------------- */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

.skip-link:focus {
	background-color: #f1f1f1;
	clip: auto;
	clip-path: none;
	color: var(--u777-primary);
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 0.5rem;
	line-height: normal;
	padding: 1rem;
	text-decoration: none;
	top: 0.5rem;
	width: auto;
	z-index: 100000;
}
