/*
Theme Name: Huqqabet Adres
Theme URI: https://example.com/huqqabet-adres
Author: Huqqabet
Description: Huqqabet güncel giriş adresi için "durum sayfası" tarzı koyu/neon yeşil tema. Canlı durum rozetli adres kartı, 3 adımlı giriş rehberi, SSS akordeonu (FAQ şeması dahil) ve son yazılar. Tüm metinler Özelleştirici'den yönetilir; JS yok, AMP uyumlu.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: huqqabet-adres
Tags: dark, one-column, right-sidebar, custom-logo, custom-menu, featured-images
*/

:root {
	--bg: #04110a;
	--bg-2: #071a10;
	--surface: #0b2217;
	--surface-2: #10301f;
	--text: #e6f4ea;
	--muted: #8fb09c;
	--green: #00f878;
	--green-2: #7dffb7;
	--green-dark: #00b857;
	--line: rgba(0, 248, 120, 0.16);
	--line-strong: rgba(0, 248, 120, 0.4);
	--radius: 16px;
	--shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
	--width: 1140px;
	--font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-height: 100vh;
	color: var(--text);
	background:
		radial-gradient(ellipse 60% 40% at 50% -5%, rgba(0, 248, 120, 0.22), transparent),
		linear-gradient(180deg, var(--bg-2), var(--bg) 50%, #020805);
	background-attachment: fixed;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--green);
	text-underline-offset: 3px;
}

a:hover,
a:focus {
	color: var(--green-2);
}

button,
input {
	font: inherit;
}

.icon {
	width: 1.2em;
	height: 1.2em;
	flex-shrink: 0;
	vertical-align: middle;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	padding: 10px 16px;
	clip: auto;
	color: #04150b;
	background: var(--green);
	border-radius: 6px;
	font-weight: 700;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 9px 20px;
	border-radius: 10px;
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	white-space: nowrap;
	text-decoration: none;
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn-login {
	color: #04150b;
	background: linear-gradient(135deg, #7dffb7, #00f878 50%, #00c460);
	border: 1px solid rgba(200, 255, 225, 0.7);
	box-shadow: 0 8px 24px rgba(0, 248, 120, 0.35);
}

.btn-register {
	color: var(--green-2);
	background: rgba(0, 248, 120, 0.08);
	border: 1px solid var(--line-strong);
}

.btn:hover,
.btn:focus {
	transform: translateY(-2px);
}

.btn-login:hover,
.btn-login:focus {
	color: #04150b;
	box-shadow: 0 12px 30px rgba(0, 248, 120, 0.5);
}

.btn-register:hover,
.btn-register:focus {
	color: #fff;
	background: rgba(0, 248, 120, 0.16);
}

.btn-lg {
	min-height: 54px;
	padding: 13px 30px;
	font-size: 1rem;
}

/* Header */
.site-header {
	border-bottom: 1px solid var(--line);
	background: rgba(4, 17, 10, 0.7);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.header-inner,
.site-main,
.footer-inner {
	width: min(var(--width), calc(100% - 40px));
	margin: 0 auto;
}

.header-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 26px;
	min-height: 74px;
	padding: 12px 0;
}

.site-logo {
	display: inline-flex;
	flex-shrink: 0;
	filter: drop-shadow(0 4px 14px rgba(0, 248, 120, 0.35));
}

.site-logo-img {
	width: auto;
	height: 42px;
}

.primary-navigation {
	flex: 1 1 auto;
	min-width: 0;
}

.primary-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-menu a {
	display: inline-block;
	padding: 8px 12px;
	color: #cfe8d8;
	border-radius: 8px;
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
}

.primary-menu a:hover,
.primary-menu a:focus,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
	color: var(--green);
	background: rgba(0, 248, 120, 0.1);
}

.header-actions {
	display: flex;
	gap: 10px;
	margin-left: auto;
}

/* Hero + address card */
.site-main {
	padding: 48px 0 64px;
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
	margin-bottom: 56px;
}

.kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	padding: 5px 12px;
	color: var(--green);
	background: rgba(0, 248, 120, 0.08);
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hero-title {
	margin: 0;
	color: #fff;
	font-size: clamp(2rem, 4.6vw, 3.1rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.hero-desc {
	max-width: 520px;
	margin: 18px 0 0;
	color: #b9d6c4;
	font-size: 1.05rem;
}

.address-card {
	position: relative;
	padding: 28px;
	background: linear-gradient(160deg, var(--surface-2), var(--surface));
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	box-shadow: var(--shadow), 0 0 0 6px rgba(0, 248, 120, 0.05);
	overflow: hidden;
}

.address-card::before {
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	content: "";
	background: linear-gradient(90deg, transparent, var(--green), transparent);
}

.address-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 16px;
}

.address-label {
	color: var(--muted);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.status-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 12px;
	color: var(--green-2);
	background: rgba(0, 248, 120, 0.1);
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
}

.status-dot {
	position: relative;
	display: inline-block;
	width: 9px;
	height: 9px;
	background: var(--green);
	border-radius: 50%;
	box-shadow: 0 0 10px var(--green);
}

.status-dot::after {
	position: absolute;
	inset: -5px;
	content: "";
	border: 2px solid var(--green);
	border-radius: 50%;
	opacity: 0.7;
	animation: hqa-ping 1.8s ease-out infinite;
}

@keyframes hqa-ping {
	0% {
		transform: scale(0.6);
		opacity: 0.8;
	}

	100% {
		transform: scale(1.6);
		opacity: 0;
	}
}

.address-domain {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 16px 18px;
	color: #fff;
	background: rgba(2, 10, 5, 0.6);
	border: 1px dashed var(--line-strong);
	border-radius: 12px;
	font-family: var(--mono);
	font-size: clamp(1.1rem, 2.6vw, 1.5rem);
	font-weight: 700;
	word-break: break-all;
}

.address-domain .icon {
	color: var(--green);
	width: 1.4em;
	height: 1.4em;
}

.address-checked {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 12px 0 0;
	color: var(--muted);
	font-size: 0.84rem;
}

.address-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.address-actions .btn {
	flex: 1 1 160px;
}

.address-notes {
	display: grid;
	gap: 8px;
	padding: 0;
	margin: 22px 0 0;
	list-style: none;
	color: #b9d6c4;
	font-size: 0.86rem;
}

.address-notes li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.address-notes .icon {
	color: var(--green);
}

.address-card.is-compact {
	padding: 22px;
}

.address-card.is-compact .address-domain {
	font-size: 1rem;
}

/* Sections */
.section-title {
	margin: 0 0 22px;
	color: #fff;
	font-size: clamp(1.4rem, 3vw, 1.9rem);
	font-weight: 800;
	letter-spacing: -0.02em;
}

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.section-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	text-decoration: none;
}

.steps {
	margin-bottom: 56px;
}

.step-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	padding: 0;
	margin: 0;
	list-style: none;
	counter-reset: step;
}

.step {
	position: relative;
	padding: 24px;
	background: linear-gradient(160deg, var(--surface-2), var(--surface));
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.step-num {
	position: absolute;
	top: 18px;
	right: 20px;
	color: rgba(0, 248, 120, 0.35);
	font-family: var(--mono);
	font-size: 1.6rem;
	font-weight: 700;
}

.step-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	color: var(--green);
	background: rgba(0, 248, 120, 0.1);
	border: 1px solid var(--line);
	border-radius: 12px;
}

.step-icon .icon {
	width: 24px;
	height: 24px;
}

.step-title {
	margin: 16px 0 6px;
	color: #fff;
	font-size: 1.08rem;
	font-weight: 700;
}

.step-text {
	margin: 0;
	color: #b9d6c4;
	font-size: 0.93rem;
}

/* FAQ */
.faq-section {
	margin-bottom: 56px;
}

.faq-list {
	display: grid;
	gap: 10px;
}

.faq-item {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 12px;
	overflow: hidden;
}

.faq-item[open] {
	border-color: var(--line-strong);
}

.faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 16px 20px;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

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

.faq-question .icon {
	color: var(--green);
	transition: transform 180ms ease;
}

.faq-item[open] .faq-question .icon {
	transform: rotate(180deg);
}

.faq-answer {
	padding: 0 20px 18px;
	color: #b9d6c4;
	font-size: 0.95rem;
}

.faq-answer p {
	margin: 0;
}

/* Post rows */
.post-list {
	display: grid;
	gap: 12px;
}

.post-row {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr) auto;
	gap: 18px;
	align-items: center;
	padding: 12px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 14px;
	transition: border-color 160ms ease, transform 160ms ease;
}

.post-row:hover,
.post-row:focus-within {
	border-color: var(--line-strong);
	transform: translateX(4px);
}

.row-thumb {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 10px;
	background: var(--surface-2);
}

.row-thumb img,
.thumb-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.thumb-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--green);
	background: radial-gradient(circle at 50% 40%, rgba(0, 248, 120, 0.3), transparent 65%), var(--surface-2);
}

.thumb-fallback .icon {
	width: 40px;
	height: 40px;
	filter: drop-shadow(0 0 10px rgba(0, 248, 120, 0.8));
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	color: var(--muted);
	font-size: 0.78rem;
}

.post-category {
	padding: 2px 9px;
	color: var(--green-2);
	background: rgba(0, 248, 120, 0.1);
	border-radius: 999px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
}

.row-title {
	margin: 4px 0;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.35;
}

.row-title a {
	color: #fff;
	text-decoration: none;
}

.row-title a:hover,
.row-title a:focus {
	color: var(--green-2);
}

.row-excerpt {
	margin: 0;
	color: #b9d6c4;
	font-size: 0.9rem;
}

.row-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--green);
	border: 1px solid var(--line);
	border-radius: 50%;
}

.row-arrow:hover,
.row-arrow:focus {
	color: #04150b;
	background: var(--green);
}

/* Listing / content */
.page-head {
	max-width: 760px;
	margin-bottom: 32px;
}

.content-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 32px;
	align-items: start;
}

.content-column {
	min-width: 0;
}

.sidebar {
	position: sticky;
	top: 24px;
}

.content-card {
	padding: clamp(22px, 4vw, 40px);
	background: linear-gradient(160deg, var(--surface-2), var(--surface));
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.front-content {
	margin-top: 56px;
}

.breadcrumb {
	margin-bottom: 14px;
	color: var(--muted);
	font-size: 0.82rem;
}

.breadcrumb a {
	font-weight: 600;
	text-decoration: none;
}

.breadcrumb-sep {
	margin: 0 8px;
}

.entry-title {
	margin: 10px 0 0;
	color: #fff;
	font-size: clamp(1.6rem, 3.6vw, 2.3rem);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.entry-lead {
	margin: 14px 0 0;
	color: #b9d6c4;
	font-size: 1.05rem;
}

.entry-header {
	margin-bottom: 22px;
}

.featured-image {
	margin: 0 0 26px;
	overflow: hidden;
	border-radius: 12px;
}

.featured-image img {
	width: 100%;
}

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

.entry-content > :last-child {
	margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin: 1.7em 0 0.6em;
	color: #fff;
	line-height: 1.3;
}

.entry-content h2 {
	font-size: clamp(1.3rem, 3vw, 1.65rem);
}

.entry-content p,
.entry-content ul,
.entry-content ol {
	margin: 0 0 1.25em;
}

.entry-content strong {
	color: #fff;
}

.entry-content blockquote {
	padding: 15px 20px;
	margin: 1.5em 0;
	background: rgba(0, 248, 120, 0.06);
	border-left: 4px solid var(--green);
	border-radius: 0 10px 10px 0;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 10px;
	border: 1px solid var(--line-strong);
	text-align: left;
}

.entry-content img {
	border-radius: 10px;
}

.alignleft {
	float: left;
	margin: 0.4em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.4em 0 1em 1.5em;
}

.aligncenter {
	margin-right: auto;
	margin-left: auto;
}

.entry-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 26px;
}

.entry-tags a {
	padding: 4px 12px;
	color: #cfe8d8;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	font-size: 0.8rem;
	text-decoration: none;
}

.post-navigation {
	margin-top: 24px;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.post-navigation a {
	display: block;
	padding: 14px 18px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 12px;
	text-decoration: none;
}

.post-navigation .nav-next {
	text-align: right;
}

.nav-label {
	display: block;
	color: var(--green);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.nav-title {
	display: block;
	color: #fff;
	font-weight: 700;
}

.navigation.pagination {
	margin-top: 28px;
}

.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 6px 12px;
	color: var(--green-2);
	background: rgba(0, 248, 120, 0.08);
	border: 1px solid var(--line-strong);
	border-radius: 8px;
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover,
.page-numbers:focus {
	color: #04150b;
	background: var(--green);
	border-color: transparent;
}

.empty-state {
	text-align: center;
}

.empty-state h2 {
	margin-top: 0;
	color: #fff;
}

.search-form {
	display: flex;
	gap: 8px;
	max-width: 420px;
	margin: 16px auto 0;
}

.search-field {
	flex: 1;
	min-width: 0;
	padding: 10px 14px;
	color: var(--text);
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	outline: none;
}

.search-submit {
	display: inline-flex;
	align-items: center;
	padding: 10px 14px;
	color: #04150b;
	background: var(--green);
	border: 0;
	border-radius: 10px;
	cursor: pointer;
}

/* Footer */
.site-footer {
	padding: 40px 0 26px;
	color: var(--muted);
	border-top: 1px solid var(--line);
	background: rgba(2, 8, 5, 0.6);
}

.footer-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.footer-brand {
	max-width: 420px;
}

.footer-brand .site-logo-img {
	height: 34px;
}

.footer-about {
	margin: 12px 0 0;
	font-size: 0.9rem;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.footer-menu a {
	color: #cfe8d8;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
}

.footer-menu a:hover,
.footer-menu a:focus {
	color: var(--green);
}

.footer-status {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-family: var(--mono);
	font-size: 0.8rem;
}

.footer-bottom {
	padding-top: 18px;
	margin-top: 26px;
	border-top: 1px solid var(--line);
	font-size: 0.84rem;
	text-align: center;
}

/* Responsive */
@media (max-width: 960px) {
	.hero,
	.content-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.sidebar {
		position: static;
	}

	.step-list {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 720px) {
	.header-inner,
	.site-main,
	.footer-inner {
		width: min(100% - 28px, var(--width));
	}

	.primary-navigation {
		order: 3;
		flex-basis: 100%;
		overflow-x: auto;
	}

	.primary-menu {
		flex-wrap: nowrap;
		width: max-content;
		min-width: 100%;
	}

	.header-actions .btn {
		min-height: 38px;
		padding: 7px 14px;
		font-size: 0.8rem;
	}

	.site-main {
		padding-top: 28px;
	}

	.address-card {
		padding: 20px;
	}

	.post-row {
		grid-template-columns: minmax(0, 1fr);
	}

	.row-arrow {
		display: none;
	}

	.post-navigation .nav-links {
		grid-template-columns: minmax(0, 1fr);
	}

	.post-navigation .nav-next {
		text-align: left;
	}

	.footer-grid {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.status-dot::after {
		animation: none;
	}

	.btn,
	.post-row {
		transition: none;
	}
}
