body {
  background: #111111 url('assets/bgpc.png') no-repeat center center fixed;
  background-size: cover;
  background-attachment: fixed;
  color: #fff;
  font-family: 'Inter', 'Poppins', Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  overflow-x: hidden;
  /* Safari mobile fixes */
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

/* Language Selector */
.language-selector {
  top: 20px;
  right: 20px;
  z-index: 1000;
  font-family: 'Inter', 'Poppins', Arial, sans-serif;
}

.current-flag {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.3s ease;
}

.current-flag:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.current-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.language-dropdown {
  position: absolute;
  top: 42px;
  right: -10px;
  background: rgba(17, 17, 17, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 10px 0;
  width: 52px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.language-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.flag-option {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  margin-bottom: 10px;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.flag-option:last-child {
  margin-bottom: 0;
}

.flag-option:hover {
  background: rgba(255, 255, 255, 0.1);
}

.flag-option img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .language-selector {
    top: 15px;
    right: 15px;
  }
  
  .current-flag {
    width: 28px;
    height: 28px;
  }
  
  .language-dropdown {
    top: 37px;
    width: 48px;
    padding: 10px 0;
    right: -10px;
  }
}

/* Mobile background (phones) */
@media (max-width: 768px) {
  body {
    background: #111111 url('assets/bgsam.png') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    height: -webkit-fill-available;
    overflow-x: hidden;
    overflow-y: auto;
    /* Safari safe area fixes */
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  
  .container {
    min-height: 100vh;
    height: auto;
    justify-content: flex-start;
    padding: 20px;
    padding-top: max(20px, env(safe-area-inset-top) + 10px);
    padding-bottom: max(20px, env(safe-area-inset-bottom) + 10px);
    box-sizing: border-box;
  }
  
  /* Modern card click effect for mobile */
  .card {
    transition: transform 0.12s cubic-bezier(.4,0,.2,1), box-shadow 0.12s cubic-bezier(.4,0,.2,1);
  }
  .card:active {
    transform: scale(0.97);
    box-shadow: 0 0 0 4px rgba(255,255,255,0.25);
  }
}

/* Desktop background (computers) */
@media (min-width: 769px) {
  body {
    background: #111111 url('assets/bgpc.png') no-repeat center center fixed;
    background-size: cover;
  }
}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  padding-top: 20px;
  position: relative;
}

.language-selector {
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 1000;
  font-family: 'Inter', 'Poppins', Arial, sans-serif;
}

@media (max-width: 768px) {
  .language-selector {
    right: 10px;
    top: 10px;
  }
}

/* Desktop container */
@media (min-width: 769px) {
  .container {
    max-width: 33.333%;
    padding: 0 16px;
  }
}

.profile-section {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.profile-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  background: #222;
}

/* Mobile profile picture - 25% smaller */
@media (max-width: 768px) {
  .profile-img {
    width: 150px;
    height: 150px;
  }
}

.name-section {
  text-align: center;
  margin-bottom: 20px;
}

.name-section h1 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
}

.social-icons {
  display: none;
}

.cards-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 40px;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  transition: transform 0.05s ease;
  border-radius: 50px;
  overflow: hidden;
}

.card-link:active {
  transform: scale(0.95);
}

/* Desktop hover effects */
@media (min-width: 769px) {
  .card-link:hover .card {
    position: relative;
  }
  
  .card-link:hover .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    z-index: 1;
    pointer-events: none;
  }
  
  .card-img,
  .card-content {
    position: relative;
    z-index: 2;
  }
}

.card {
  width: 100%;
  height: 100px;
  background: rgba(17, 17, 17, 0.6);
  border: 1px solid #fff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  box-sizing: border-box;
  gap: 20px;
  position: relative;
  cursor: pointer;
}

/* Ensure Support button can scale without cutting */
.cards-section > a:first-child > .card {
  transform-origin: center center;
  will-change: transform;
}

/* Mobile card height - 25% less */
@media (max-width: 768px) {
  .card {
    height: 75px;
    border-radius: 37.5px;
  }
}

/* Desktop card width */
@media (min-width: 769px) {
  .card {
    width: 100%;
  }
}

.card-img {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  overflow: hidden;
  position: absolute;
  left: 24px;
}

/* Allow Support button to scale properly - entire button scales together */
.cards-section > a:first-child > .card {
  overflow: visible !important;
}

.cards-section > a:first-child .card-img {
  overflow: visible !important;
}

/* Ensure the entire Support button scales as one unit */
.cards-section > a:first-child {
  overflow: visible !important;
}

.card-img svg,
.card-img img {
  width: 32px;
  height: 32px;
  stroke: #fff;
  fill: none;
  object-fit: contain;
}

/* Make Spotify logo bigger - very specific selector */
.cards-section .card:nth-child(5) .card-img img {
  width: 45px !important;
  height: 45px !important;
}



/* Modern mobile click effects for all cards */
.card {
  transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:active {
  transform: scale(0.98);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Pulse animation for Support button only - entire button scales together */
@keyframes supportPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Very specific selector - only the Support button gets animation */
.cards-section > a:first-child > .card {
  animation: supportPulse 2s ease-in-out infinite !important;
  transform-origin: center center;
}

/* Override pulse when clicked to show click effect */
.cards-section > a:first-child > .card:active {
  animation: none !important;
  transform: scale(0.98) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3) !important;
}

/* Ensure click effects work on mobile */
@media (max-width: 768px) {
  .card:active {
    transform: scale(0.98);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.4);
  }
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 0;
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.card-desc {
  font-size: 1rem;
  color: #fff;
  opacity: 0.8;
}

@media (max-width: 400px) {
  .card {
    width: 100%;
    padding: 0 10px;
  }
  .container {
    padding: 24px 4px 0 4px;
  }
} 