/*
* LittleLink
* https://littlelink.io
* Free to use under the MIT license
* http://www.opensource.org/licenses/mit-license.php
*/

:root {
	font-size:16px;
  --scale-0:1rem;
  --scale-1:1.25rem;
  --scale-2:1.563rem;
  --scale-3:1.953rem;
  --scale-4:2.441rem;
  --scale-5:3.052rem;
  --spacing-xs:0.5rem;
  --spacing-s:1rem;
  --spacing-m:1.5rem;
  --spacing-l:2rem;
  --spacing-xl:3rem;
  --spacing-xxl:4rem;
}

/* Blurred background */
body {
	margin:0;
	padding:0;
	background: url('../images/bg.png') center/cover no-repeat fixed;
	background-color: #f7efe6;
	color:#1a1a1a;
	font-family:"Open Sans",system-ui;
	font-size:1.125rem;
	font-weight:400;
	line-height:1.6;
	position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('../images/bg.png') center/cover no-repeat fixed;
  filter: blur(3px);
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(247, 239, 230, 0.35);
  z-index: -1;
}

.container {
	position:relative;
	width:100%;
	max-width:37.5rem;
    text-align:center;
	margin:0 auto;
	padding:3rem 1.25rem 0 1.25rem;
	box-sizing:border-box;
}

.column {
	width:100%;
	box-sizing:border-box;
}

/* Card outline */
.card {
  background: rgba(247, 239, 230, 0.82);
  border-radius: 1.5rem;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.4);
}

@media (min-width:25rem) {
  .container { width:85%; padding-left:0; padding-right:0; }
}
@media (min-width:34.375rem) {
  .container { width:80%; }
}

h1 {
	margin:0 0 var(--spacing-m) 0;
	font-size:var(--scale-5);
  	font-weight:800;
	line-height:1.1;
	letter-spacing:-0.02em;
	color: #C17B5C;
}
.container p {
	margin:0 0 0.5rem 0 !important;
	font-size:var(--scale-1);
}

.avatar {
	width: 8rem;
	height: 8rem;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: var(--spacing-l);
	margin-left: auto;
	margin-right: auto;
	display: block;
}

.button, button {
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:18.75rem;
 	min-height:3rem;
  	padding:0.75rem 1rem;
  	font-size:1.125rem;
  	font-weight:700;
	text-decoration:none;
	white-space:normal;
  	background-color:var(--button-background,transparent);
	color:var(--button-text,#000000);
	border:var(--button-border,none);
	border-radius:0.5rem;
	cursor:pointer;
	box-sizing:border-box;
  	margin-bottom:1rem;
	text-align:center;
}

.icon {
	width:1.25rem;
	height:1.25rem;
	margin-right:0.5rem;
	flex-shrink:0;
}

/* Social icons */
.social-icons {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 1.25rem !important;
  margin: 0.25rem 0 1.5rem 0 !important;
}

.social-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  transition: transform 0.2s ease, opacity 0.2s ease !important;
}

.social-icon img {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  object-fit: contain !important;
}

.social-icon[aria-label="X"] img {
  filter: brightness(0) !important;
}

.social-icon[aria-label="Pixiv"] {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
}

.social-icon[aria-label="Pixiv"] img {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
}

.social-icon:hover {
  transform: translateY(-4px) scale(1.15) !important;
  opacity: 1 !important;
}

.social-icon:active {
  transform: translateY(-1px) scale(1.05) !important;
}

/* Membership dropdown */
.membership-dropdown {
  margin: 1.5rem auto;
  width: 18.75rem;
  text-align: center;
}

.membership-dropdown summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
  color: #1a1a1a;
  border-radius: 0.75rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
  box-sizing: border-box;
  border: none;
}

.membership-dropdown summary::-webkit-details-marker { display: none; }

.membership-dropdown summary::after {
  content: "\25BC";
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.membership-dropdown[open] summary::after {
  transform: rotate(180deg);
}

.membership-links {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.membership-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 0;
  padding-left: 1.25rem;
  position: relative;
}

.membership-btn .icon {
  margin-right: 0;
  flex-shrink: 0;
}

.membership-btn span {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  pointer-events: none;
}

.button:hover, button:hover { color: var(--button-text); }

@media (max-width:34.375rem) {
  h1 { font-size:2rem; }
  body { font-size:1rem; }
}
