html {
    scroll-padding-top: 100px; /* Adjust based on header + nav height */
}

/* === HEADER BACKGROUND === */
header {
  background: linear-gradient(90deg, #e67e22, #d84315); 
  color: white;
  padding: 0.4rem 1rem; /* further reduced padding */
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  border-bottom: 2px solid #fbc02d; /* thinner golden line */
}

/* === FLEX CONTAINER === */
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem; /* smaller gap */
}

/* === LOGO === */
.logo {
  width: 60px;   /* much smaller logo */
  height: auto;
  filter: drop-shadow(0 0 3px rgba(0,0,0,0.5))
          drop-shadow(0 0 8px #ffeb3b); 
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.6))
          drop-shadow(0 0 12px #ff9800);
}

/* === TITLE === */
.site-title {
  font-size: 1.8rem; /* much smaller font size */
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
  text-shadow:
      0 0 2px rgba(255,255,255,0.7),
      0 0 6px #ffc107,
      0 0 12px rgba(255,152,0,0.6); /* subtler glow */
  animation: auraPulse 4s infinite ease-in-out;
}

/* === AURA PULSE (Adjusted for smaller size) === */
@keyframes auraPulse {
  0%, 100% {
    text-shadow:
      0 0 2px rgba(255,255,255,0.8),
      0 0 6px #ffc107,
      0 0 12px rgba(255,152,0,0.6);
  }
  50% {
    text-shadow:
      0 0 3px rgba(255,255,255,0.9),
      0 0 10px #ff9800,
      0 0 16px rgba(255,111,0,0.8);
  }
}

footer {
    background: #111;
    color: #aaa;
    text-align: center;
    padding: 0.3rem;
    font-size: 0.9rem;
    position: fixed;
    width: 100%;
    bottom: 0;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.5);
}

/* === NAVIGATION BAR === */
.main-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  background: linear-gradient(90deg, #1a1a2e, #16213e);
  padding: 0.5rem 1.5rem; 
  border-bottom: 1px solid #fbc02d; 
  position: sticky;
  top: 50px; 
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.main-nav a {
  color: #f1f1f1;
  text-decoration: none;
  font-weight: 600; 
  font-size: 0.95rem; 
  letter-spacing: 0.8px; 
  position: relative;
  transition: color 0.3s ease;
  text-transform: uppercase;
  padding: 0 0.5rem;
}

/* === GOLDEN UNDERLINE HOVER EFFECT === */
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; /* adjusted for smaller nav */
  left: 0;
  width: 0%;
  height: 2px; /* thinner line */
  background: linear-gradient(90deg, #ffeb3b, #ff9800);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.main-nav a:hover {
  color: #ffeb3b;
}

.main-nav a:hover::after {
  width: 100%;
}

/* === ACTIVE LINK STYLE === */
.main-nav a.active {
  color: #ffd54f;
}

.main-nav a.active::after {
  width: 100%;
}

/* === RESPONSIVE NAV (MOBILE STACK) === */
@media (max-width: 768px) {
  .main-nav {
    flex-direction: column;
    align-items: center;
    gap: 0.7rem; /* smaller gap for mobile */
    padding: 0.7rem; /* reduced mobile padding */
  }
  .main-nav a {
    font-size: 0.95rem; /* smaller mobile font */
  }
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #242f43 0%, #223454 100%);
    color: #fff4e1;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

h1 {
    text-align: center;
    margin-top: 2rem;
    font-size: 2.3rem;
    color: #ffb300;
    letter-spacing: 1px;
    text-shadow: 1px 3px 8px #22305eaa;
    font-weight: bold;
}

.intro-section {
    margin: 24px auto 18px auto;
    max-width: 450px;
    padding: 18px 16px;
    background: #31405cbb;
    border-radius: 17px;
    font-size: 1.09rem;
    box-shadow: 0 1px 16px #22305e22;
    text-align: center;
    border-left: 4px solid #49bfff;
    border-right: 4px solid #ffb300;
}

.calculator-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin: 0 auto;
    max-width: 760px;
}

.calc-block {
    background: #294366e9;
    border-radius: 18px;
    width: 97vw;
    max-width: 330px;
    min-width: 220px;
    padding: 28px 12px;
    margin: 18px 0;
    box-shadow: 0 4px 16px #1a244049;
    text-align: center;
    transition: transform 0.12s, box-shadow 0.16s;
    border: 2px solid #49bfff88;
}
.calc-block:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 32px #ffb30033, 0 4px 16px #56b0ff44;
}

.calc-block h2 {
    color: #49bfff;
    margin-bottom: 8px;
    font-size: 1.23rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 5px #0e253b33;
}

.calc-block p {
    font-size: 1.01rem;
    margin-bottom: 18px;
    color: #f0f6fcce;
}

.calculator-btn {
    display: inline-block;
    background: linear-gradient(90deg, #ffd770 30%, #ff9c30 100%);
    color: #2f1905;
    font-size: 1.06rem;
    padding: 12px 24px;
    border-radius: 10px;
    border: none;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 0 8px #ffb30044;
    transition: background 0.13s, color 0.13s, transform 0.10s;
}

.calculator-btn:hover {
    background: linear-gradient(90deg, #ff9c30 30%, #ffd770 100%);
    color: #173140;
    transform: scale(1.06);
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .calculator-section {
        flex-direction: column;
        gap: 14px;
    }
    h1 {
        font-size: 1.4rem;
    }
}

/* === RECENT UPDATES SECTION === */
.updates-section {
    margin: 40px auto 60px auto; /* Added bottom margin for footer */
    max-width: 760px;
    padding: 0 1rem;
}

.updates-section h2 {
    color: #ffb300;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 1px 3px 8px #22305eaa;
}

.update-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.update-item {
    background: #31405cbb;
    border-radius: 17px;
    padding: 1.5rem;
    border-left: 4px solid #ff9800;
    box-shadow: 0 1px 16px #22305e22;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.update-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px #ffb30022;
}

.update-date {
    color: #ff9800;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.5rem;
}

.update-item h3 {
    color: #49bfff;
    font-size: 1.2rem;
    margin: 0.5rem 0;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.update-item p {
    color: #f0f6fcce;
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .updates-section {
        margin: 30px auto 50px auto;
    }
    
    .updates-section h2 {
        font-size: 1.3rem;
    }
    
    .update-item {
        padding: 1.2rem;
    }
    
    .update-item h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .update-item {
        padding: 1rem;
        border-left-width: 3px;
    }
    
    .update-date {
        font-size: 0.85rem;
    }
    
    .update-item p {
        font-size: 0.95rem;
    }
}

/* === CONTACT SECTION === */
.contact-section-full {
    background: linear-gradient(135deg, #1e1e2f, #232a3a);
    padding: 4rem 1rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-section-inner {
    max-width: 600px;
    width: 100%;
}

.contact-card {
    background: linear-gradient(135deg, #2a3142, #1f2533);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.4),
        0 0 80px rgba(255,152,0,0.1); /* subtle orange glow */
    border: 2px solid #3a4052;
    position: relative;
}

/* Golden aura border animation */
.contact-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ffeb3b, #ff9800, #ff6f00, #ffeb3b);
    border-radius: 16px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    animation: rotateGradient 4s linear infinite;
}

.contact-card:hover::before {
    opacity: 0.6;
}

@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* === HEADER === */
.contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-header svg {
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 15px #ffeb3b);
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.contact-header h2 {
    font-size: 2rem;
    color: #ffeb3b;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(255,235,59,0.5);
}

.contact-lead {
    color: #c5c5c5;
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-lead strong {
    color: #ff9800;
    font-weight: 700;
}

/* === FORM STYLING === */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form label {
    color: #ffeb3b;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: -0.8rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    background: #1a1d2e;
    border: 2px solid #3a4052;
    border-radius: 8px;
    padding: 12px 16px;
    color: #e0e0e0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ff9800;
    background: #1f2231;
    box-shadow: 0 0 0 3px rgba(255,152,0,0.2);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #666;
}

/* === SUBMIT BUTTON === */
.submit-btn {
    background: linear-gradient(90deg, #ff9800, #f44336);
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255,152,0,0.4);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 25px rgba(255,152,0,0.6),
        0 0 40px rgba(255,235,59,0.4);
}

/* Kamehameha wave effect on hover */
.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

/* === PRIVACY & SUCCESS === */
.privacy-blurb {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.form-success {
    background: linear-gradient(90deg, #4caf50, #8bc34a);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    margin-top: 1rem;
    animation: slideIn 0.5s ease;
}

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

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .contact-section-full {
        padding: 2rem 1rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-header h2 {
        font-size: 1.6rem;
    }
    
    .contact-lead {
        font-size: 1rem;
    }
    
    .submit-btn {
        font-size: 1rem;
        padding: 12px 24px;
    }
}

@media (max-width: 480px) {
    .contact-card {
        padding: 1.2rem;
        border-radius: 12px;
    }
    
    .contact-header h2 {
        font-size: 1.4rem;
    }
    
    .contact-form {
        gap: 1rem;
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
}

/* Better success message animation */
.form-success {
    background: linear-gradient(90deg, #4caf50, #8bc34a);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    margin-top: 1rem;
    animation: slideInGlow 0.5s ease;
    box-shadow: 0 4px 20px rgba(76,175,80,0.4);
}

@keyframes slideInGlow {
    from { 
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Disabled button state */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Donation Section - Matching site theme */
.donate-section {
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 60px; /* Space for fixed footer */
}

.donate-container {
    max-width: 600px;
    margin: 0 auto;
    background: #31405cbb;
    padding: 40px;
    border-radius: 17px;
    box-shadow: 0 1px 16px #22305e22;
    border-left: 4px solid #ff9800;
    border-right: 4px solid #ffb300;
}

.donate-container h2 {
    color: #ffb300;
    margin-bottom: 20px;
    font-size: 2em;
    letter-spacing: 1px;
    text-shadow: 1px 3px 8px #22305eaa;
    font-weight: bold;
}

.donate-container p {
    color: #f0f6fcce;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.paypal-donate-form {
    margin: 30px 0;
}

/* Ki-themed button - updated to match your orange gradient buttons */
.btn-ki {
    position: relative;
    display: inline-block;
    padding: 14px 32px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg, #ffd770 30%, #ff9c30 100%);
    color: #2f1905;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px #ffb30044;
    text-decoration: none !important;
}

.btn-ki:hover {
    background: linear-gradient(90deg, #ff9c30 30%, #ffd770 100%);
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 8px 32px #ffb30033, 0 4px 16px #56b0ff44;
}

.btn-ki:active {
    transform: translateY(0);
}

/* Shine effect overlay */
.btn-ki-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-ki:hover .btn-ki-shine {
    left: 100%;
}

.btn-ki-text {
    position: relative;
    z-index: 1;
    text-decoration: none;
}

.donate-note {
    font-size: 14px;
    color: #888;
    margin-top: 20px;
}

/* Add orange glow effect on hover */
.donate-container:hover {
    box-shadow: 0 4px 20px #ffb30022;
}