/*
Theme Name: MyTamil
Theme URI: https://mytamil.app
Author: SR Interactive
Author URI: https://mytamil.app
Description: MyTamil – Tamil Radio, Music & News. A clean, modern theme for the MyTamil app landing page.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mytamil
*/

/* Theme-specific overrides (inline styles from original template) */
#site-header.nav-scrolled {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(26, 29, 28, 0.06);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}
html { font-size: 112.5%; }
.hero-title-line { color: #EE4266; }
.hero-bg {
  background: linear-gradient(180deg, #ffffff 0%, #F8FAF9 40%, #f0fdf4 100%);
}
.hero-wave-wrap {
  position: absolute;
  left: 50%;
  top: 56%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-wave-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36vmin;
  height: 36vmin;
  margin-left: -18vmin;
  margin-top: -18vmin;
  border-radius: 50%;
  border: 2px solid rgba(43, 165, 110, 0.5);
  box-sizing: border-box;
  opacity: 0;
  animation: hero-wave 6s ease-out infinite;
}
.hero-wave-circle:nth-child(2) { animation-delay: 1.2s; border-color: rgba(249, 115, 22, 0.5); }
.hero-wave-circle:nth-child(3) { animation-delay: 2.4s; border-color: rgba(43, 165, 110, 0.55); }
.hero-wave-circle:nth-child(4) { animation-delay: 3.6s; border-color: rgba(249, 115, 22, 0.5); }
.hero-wave-circle:nth-child(5) { animation-delay: 4.8s; border-color: rgba(43, 165, 110, 0.55); }
@keyframes hero-wave {
  0% { transform: scale(0.15); opacity: 0.8; }
  100% { transform: scale(1); opacity: 0; }
}
#hero-title {
  font-size: 2.5rem;
  line-height: 1.08;
}
@media (min-width: 768px) {
  #hero-title { font-size: 3rem; }
}
@media (min-width: 1024px) {
  #hero-title { font-size: 3.75rem; }
}
@media (min-width: 1280px) {
  #hero-title { font-size: 4.5rem; }
}

/* Mobile: disable heavy blur and infinite animations to prevent GPU overload and heating */
@media (max-width: 768px) {
  .hero-blur-bg { display: none !important; }
  .hero-wave-wrap { display: none !important; }
  .hero-logo-glow { animation: none !important; filter: none !important; }
  .hero-scroll-hint { animation: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-wave-circle { animation: none !important; }
  .hero-wave-wrap { display: none !important; }
  .hero-logo-glow { animation: none !important; }
  .hero-scroll-hint { animation: none !important; }
}

/* ==========================================================================
   Page content (e.g. Privacy Policy) – text & typography
   ========================================================================== */
.page article .prose,
.page article [class*="prose"] {
  color: #1A1D1C;
  font-size: 1rem;
  line-height: 1.65;
}
.page article .prose p,
.page article p {
  margin-bottom: 1rem;
}
.page article .prose p:last-child,
.page article p:last-child {
  margin-bottom: 0;
}
.page article .prose h2,
.page article h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1A1D1C;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.25rem;
}
.page article .prose h3,
.page article h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}
.page article .prose ul,
.page article ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.page article .prose li,
.page article li {
  margin-bottom: 0.35rem;
}
.page article .prose hr,
.page article hr {
  border: 0;
  border-top: 1px solid rgba(26, 29, 28, 0.12);
  margin: 1.5rem 0;
}
.page article .prose a,
.page article a {
  color: #2BA56E;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page article .prose a:hover,
.page article a:hover {
  color: #248f5e;
}
.page article .prose strong,
.page article strong {
  font-weight: 600;
}

/* ==========================================================================
   Support / Contact form
   ========================================================================== */
.page-support form,
.page form.wpcf7-form,
body.page-support .wpcf7-form {
  max-width: 32rem;
  margin-top: 1rem;
}
.page-support form label,
.page-support .wpcf7-form label,
.page-support form .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 1rem;
}
.page-support form input[type="text"],
.page-support form input[type="email"],
.page-support form input[type="tel"],
.page-support form input[type="url"],
.page-support form textarea,
.page-support .wpcf7-form-control:not([type="submit"]):not([type="file"]),
.page-support input:not([type="submit"]),
.page-support textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 1rem;
  font-family: inherit;
  line-height: 1.5;
  color: #1A1D1C;
  background: #fff;
  border: 1px solid rgba(26, 29, 28, 0.2);
  border-radius: 0.5rem;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.page-support form input:focus,
.page-support form textarea:focus,
.page-support .wpcf7-form-control:focus {
  outline: none;
  border-color: #2BA56E;
  box-shadow: 0 0 0 3px rgba(43, 165, 110, 0.2);
}
.page-support form textarea,
.page-support textarea {
  min-height: 120px;
  resize: vertical;
}
.page-support form input[type="submit"],
.page-support .wpcf7-form input[type="submit"],
.page-support button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to right, #2BA56E, #F97316);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.1s ease;
}
.page-support form input[type="submit"]:hover,
.page-support .wpcf7-form input[type="submit"]:hover,
.page-support button[type="submit"]:hover {
  box-shadow: 0 4px 14px rgba(43, 165, 110, 0.35);
}
.page-support form input[type="submit"]:active,
.page-support .wpcf7-form input[type="submit"]:active,
.page-support button[type="submit"]:active {
  transform: scale(0.98);
}
.page-support .wpcf7-not-valid-tip {
  font-size: 0.8125rem;
  color: #b91c1c;
  margin-top: 0.25rem;
}
.page-support .wpcf7-response-output {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  border-radius: 0.5rem;
}
.page-support .wpcf7-mail-sent-ok {
  border: 1px solid #2BA56E;
  background: rgba(43, 165, 110, 0.1);
  color: #166534;
}
.page-support .wpcf7-validation-errors,
.page-support .wpcf7-mail-sent-ng {
  border: 1px solid rgba(185, 28, 28, 0.3);
  background: rgba(185, 28, 28, 0.08);
  color: #b91c1c;
}
