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

html {
  scroll-behavior: smooth;
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
  display: none;
}

img {
  -webkit-user-drag: none;
}

/* ================= BODY ================= */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  color: #fff;
  text-align: center;
  min-height: 100vh;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

body.locked {
  overflow: hidden;
}

/* ================= INTRO OVERLAY ================= */
#intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: opacity 0.5s ease;
}

.intro-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 40px;
  max-width: 800px;
}

.typewriter {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #ff8a80;
  white-space: pre-wrap;
  border-right: 2px solid #ff8a80;
  animation: blink-caret 0.75s step-end infinite;
  min-height: 80px;
  margin-bottom: 30px;
  line-height: 1.6;
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #ff8a80; }
}

.intro-buttons {
  gap: 20px;
  justify-content: center;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sparkles */
.sparkle {
  position: absolute;
  width: 3px;
  height: 3px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 8px 2px #ff4d6d;
  animation: twinkle linear infinite;
  opacity: 0;
  z-index: 1;
}

@keyframes twinkle {
  0% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.5); }
  100% { opacity: 0; transform: scale(0.5); }
}

/* ================= NAVBAR ================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 15px 30px;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-title {
  font-size: 20px;
  font-weight: bold;
  color: #ff8a80;
}

.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #ff4d6d;
}

/* ================= HEADINGS ================= */
h1, h2, h3, .nav-title {
  font-family: 'Playfair Display', serif;
}

h1 {
  margin: 30px 0;
  font-size: 40px;
  background: linear-gradient(90deg, #ff4d6d, #ff8a80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  margin: 40px 0 20px;
  color: #ff8a80;
}

/* ================= ABOUT ================= */
.about-section {
  max-width: 800px;
  margin: auto;
  padding: 20px;
}

.about-intro {
  color: #ccc;
  line-height: 1.6;
}

.about-intro p {
  margin-bottom: 15px;
}

.bio-credit {
  font-style: italic;
  font-size: 0.9em;
  color: #999;
}

.achievements {
  margin-top: 30px;
  text-align: left;
  background: linear-gradient(145deg, rgba(255, 77, 109, 0.08), rgba(255, 255, 255, 0.02));
  padding: 25px;
  border-radius: 15px;
  border-left: 4px solid #ff4d6d;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.achievements h3 {
  color: #ff8a80;
  margin-bottom: 15px;
  font-size: 20px;
}

.achievements-list {
  list-style-type: none;
  padding-left: 0;
}

.achievements-list li {
  color: #ccc;
  margin-bottom: 10px;
  line-height: 1.5;
  position: relative;
  padding-left: 25px;
}

.achievements-list li::before {
  content: '🏆';
  position: absolute;
  left: 0;
  top: 0;
}

.cta-button {
    margin-top: 20px;
    padding: 10px 25px;
    border-radius: 25px;
    border: 1px solid #ff8a80;
    background: transparent;
    color: #ff8a80;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.cta-button:hover {
    background: #ff8a80;
    color: #1a1a2e;
    box-shadow: 0 5px 15px rgba(255, 138, 128, 0.4);
}

.read-more-btn {
    margin-top: 5px;
    margin-bottom: 20px;
    padding: 6px 18px;
    font-size: 14px;
}

/* ================= SEARCH ================= */
.search-input {
  padding: 12px 20px;
  width: 80%;
  max-width: 400px;
  border-radius: 25px;
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 20px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 16px;
}

.search-input:focus {
  outline: none;
  box-shadow: 0 0 10px #ff4d6d;
  border-color: #ff4d6d;
}

/* ================= TABLE ================= */
.filmography-table {
  width: 90%;
  margin: auto;
  border-collapse: collapse;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
}

.filmography-table th,
.filmography-table td {
  padding: 12px;
}

.filmography-table th {
  background: #ff4d6d;
}

.filmography-table tbody tr {
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.filmography-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.filmography-table .highlight-row {
  background: rgba(255, 77, 109, 0.1);
  border-left: 3px solid #ff4d6d;
}

.filmography-table .highlight-row:hover {
  background-color: rgba(255, 77, 109, 0.25);
}

/* ================= PHOTOS ================= */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 20px;
}

.photos-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;

  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

/* Lazy load animation */
.photos-grid img.loaded {
  opacity: 1;
  transform: translateY(0);
}

.photos-grid img.loaded:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 10px 20px rgba(255, 77, 109, 0.4);
  cursor: pointer;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .photos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .navbar {
    flex-direction: column;
    gap: 10px;
  }
}

/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;

  padding: 12px 16px;
  font-size: 18px;

  border: none;
  border-radius: 50%;
  cursor: pointer;

  background: #ff4d6d;
  color: white;

  display: none;
  transition: all 0.3s ease;

  box-shadow: 0 5px 20px rgba(255,77,109,0.4);
}

#scrollTopBtn:hover {
  transform: translateY(-5px);
}


/* FAB Container */
.fab-container {
  position: fixed;
  bottom: 90px;
  right: 30px;
}

/* Main Button */
#fabMain {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: none;
  background: #ff4d6d;
  color: white;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(255,77,109,0.4);
}

/* Options */
.fab-options {
  display: none;
  flex-direction: column;
  margin-bottom: 10px;
}

.fab-options a {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  margin: 6px 0;
  padding: 10px;
  border-radius: 50%;
  text-decoration: none;
  color: white;
  font-size: 18px;
  text-align: center;
  transition: 0.3s;
}

.fab-options a:hover {
  transform: scale(1.1);
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.lightbox img {
  max-width: 85%;
  max-height: 85%;
  border-radius: 10px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  cursor: pointer;
  color: white;
}

.close-btn:hover {
  color: #ff4d6d;
}

.footer {
    margin-top: 50px;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-title {
    font-size: 18px;
    color: #ff8a80;
    margin-bottom: 10px;
}

.footer-desc {
    font-size: 14px;
    color: #ccc;
    max-width: 700px;
    margin: auto;
    line-height: 1.6;
}

.footer-note {
    font-size: 13px;
    color: #999;
    margin-top: 10px;
}

.footer-links {
    margin: 15px 0;
}

.footer-links a {
    margin: 0 10px;
    text-decoration: none;
    color: #ff4d6d;
    transition: 0.3s;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-copy {
    font-size: 12px;
    color: #777;
}

/* ================= ANTI-SCREENSHOT / ANTI-PRINT ================= */
@media print {
  html {
    display: none !important;
  }
}