/* =====================
GLOBAL RESET
===================== */
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{
background:linear-gradient(180deg,#6b4f3a,#8b6a52);
color:#fff7ef;
overflow-x:hidden;
}

/* =====================
NAVBAR
===================== */
header{
position:fixed;
top:0;
left:0;
width:100%;
height:70px;
background:rgba(60, 40, 28, 0.95);
backdrop-filter:blur(10px);
display:flex;
align-items:center;
justify-content:space-between;
padding:0 40px;
z-index:999;
box-shadow:0 4px 20px rgba(0,0,0,0.4);
}

.logo{
display:flex;
align-items:center;
gap:10px;
font-weight:700;
font-size:20px;
}

.logo img{
height:45px;
}

.nav-links{
display:flex;
gap:25px;
align-items:center;
}

.nav-links a{
text-decoration:none;
color:#f5e6d3;
font-weight:500;
transition:0.3s;
padding:20px 0;
display:flex;
align-items:center;
}

.nav-links a:hover{
color:#e0b27f;
}

/* =====================
SOCIAL SIDEBAR
===================== */
.socials{
position:fixed;
left:15px;
top:50%;
transform:translateY(-50%);
display:flex;
flex-direction:column;
gap:15px;
z-index:998;
}

.socials a{
width:42px;
height:42px;
border-radius:12px;
background:rgba(255,255,255,0.08);
display:flex;
align-items:center;
justify-content:center;
transition:0.3s;
}

.socials a:hover{
background:#b08968;
transform:scale(1.1);
}

.socials img{
width:22px;
height:auto;
}

/* =====================
KEYFRAME ANIMATIONS
===================== */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.5);
    filter: brightness(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(80px) rotateX(-20deg);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
    filter: blur(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-80px) rotateX(20deg);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
    filter: blur(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px) rotateY(20deg);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotateY(0deg);
    filter: blur(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px) rotateY(-20deg);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotateY(0deg);
    filter: blur(0);
  }
}

@keyframes zoomInRotate {
  from {
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    filter: blur(15px);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: blur(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0) translateY(100px);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
  75% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes shine {
  0% {
    background-position: -1000px center;
  }
  100% {
    background-position: 1000px center;
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(224, 178, 127, 0.9), inset 0 0 20px rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 0 25px rgba(224, 178, 127, 0), inset 0 0 20px rgba(255, 255, 255, 0.3);
  }
}

@keyframes wobble {
  0%, 100% {
    transform: translateX(0) rotate(0deg);
  }
  15% {
    transform: translateX(-8px) rotate(-2deg);
  }
  30% {
    transform: translateX(8px) rotate(2deg);
  }
  45% {
    transform: translateX(-8px) rotate(-2deg);
  }
  60% {
    transform: translateX(6px) rotate(1.5deg);
  }
  75% {
    transform: translateX(-4px) rotate(-1deg);
  }
}

@keyframes flip {
  0% {
    opacity: 0;
    transform: perspective(800px) rotateY(-90deg) rotateX(10deg);
  }
  100% {
    opacity: 1;
    transform: perspective(800px) rotateY(0deg) rotateX(0deg);
  }
}

@keyframes fadeInBlur {
  from {
    opacity: 0;
    filter: blur(20px) brightness(0.7);
  }
  to {
    opacity: 1;
    filter: blur(0) brightness(1);
  }
}

/* Animation Utility Classes */
.animate-fade-in-scale {
  animation: fadeInScale 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.animate-slide-up {
  animation: slideInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-slide-down {
  animation: slideInDown 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-slide-left {
  animation: slideInLeft 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-slide-right {
  animation: slideInRight 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-zoom-rotate {
  animation: zoomInRotate 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.animate-bounce {
  animation: bounceIn 1.1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.animate-shine {
  animation: shine 3s infinite;
}

.animate-pulse {
  animation: pulse 2.5s infinite;
}

.animate-wobble {
  animation: wobble 0.9s ease-in-out;
}

.animate-flip {
  animation: flip 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.animate-fade-blur {
  animation: fadeInBlur 1s ease-in;
}

.animate-on-scroll {
  opacity: 0;
}

/* =====================
CONTAINER
===================== */
.container{
max-width:1100px;
margin:120px auto 60px;
padding:20px;
}

/* =====================
CARD GLASS
===================== */
.glass-card{
background:rgba(255,245,235,0.08);
border-radius:20px;
padding:20px;
backdrop-filter:blur(10px);
box-shadow:0 20px 60px rgba(0,0,0,0.25);
transition:all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
position:relative;
overflow:hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  transform: rotate(0deg);
  transition: all 0.7s ease;
  opacity: 0;
}

.glass-card:hover::before {
  opacity: 1;
  transform: rotate(45deg) translateX(50px);
}

.glass-card:hover{
transform:translateY(-12px) scale(1.03);
box-shadow: 0 40px 100px rgba(224, 178, 127, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 30px rgba(224, 178, 127, 0.4);
}

/* =====================
BUTTON PRIMARY
===================== */
.btn-primary{
padding:12px 28px;
border-radius:12px;
border:none;
background:linear-gradient(45deg,#b08968,#7f5539);
color:white;
cursor:pointer;
box-shadow:0 10px 30px rgba(90,60,40,0.4);
transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
position:relative;
overflow:hidden;
font-weight:600;
letter-spacing: 0.5px;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent);
  transform: translate(-50%, -50%);
  transition: width 0.7s, height 0.7s ease-out;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover::after {
  width: 400px;
  height: 400px;
}

.btn-primary:hover{
transform:translateY(-5px) scale(1.08);
box-shadow: 0 20px 60px rgba(176, 137, 104, 0.8), 0 0 40px rgba(224, 178, 127, 0.6);
}

/* =====================
TITLE
===================== */
.page-title{
font-size:32px;
margin-bottom:30px;
}

/* =====================
PREVIEW CARD HOVER ANIMATIONS
===================== */
.preview-card {
  position: relative;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: translateY(0);
}

.preview-card:hover {
  transform: translateY(-15px) rotate(-2deg) scale(1.05);
  filter: brightness(1.15);
}

.preview-card:hover img {
  transform: scale(1.1) rotate(3deg);
}

.preview-card p {
  transition: all 0.4s ease;
  font-weight: 600;
  letter-spacing: 1px;
}

.preview-card:hover p {
  color: #e0b27f;
  text-shadow: 0 0 20px rgba(224, 178, 127, 0.6);
  transform: scale(1.1);
}

/* =====================
FORM INPUTS/TEXTAREAS
===================== */
input, textarea {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid transparent;
  background: rgba(255,255,255,0.05);
}

input:focus, textarea:focus {
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 30px rgba(224, 178, 127, 0.4), inset 0 0 20px rgba(224, 178, 127, 0.1);
  border-color: #e0b27f;
  transform: translateY(-3px);
}

/* =====================
NAV LINKS ANIMATIONS
===================== */
.nav-links a, .about-btn {
  position: relative;
  display: inline-block;
}

.nav-links a::after, .about-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #e0b27f, #b08968);
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-links a:hover::after, .about-btn:hover::after {
  width: 100%;
  box-shadow: 0 0 15px rgba(224, 178, 127, 0.6);
}

.nav-links a:hover, .about-btn:hover {
  text-shadow: 0 0 15px rgba(224, 178, 127, 0.5);
  transform: scale(1.05);
}

/* =====================
TITLE
===================== */

/* =====================
NEWS CARD
===================== */
.news-card{
display:flex;
gap:20px;
align-items:center;
}

.news-card img{
width:140px;
height:90px;
object-fit:cover;
border-radius:15px;
}

/* =====================
COMMENT CARD
===================== */
.comment-card{
padding:18px;
border-radius:18px;
margin-bottom:15px;
}

.store-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}
