:root {
    --main-blue: rgb(13,75,163);
    --light-blue: rgb(112,170,252);
    --bg-blue: rgba(112, 171, 255, 0.95);
    --header-blue: #518fe7e6;
    --open-bg: #eef2f7;
}

html, body {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}


.container-wrapper {
    max-width: 600px;
    width: 90%;
    margin: 200px 365px 8vw;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(10px);
}

.container {
    width: 100%;
    background: var(--bg-blue);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    color: var(--main-blue);
    box-sizing: border-box;
}


.crossed {
    text-decoration: line-through;
    opacity: 0.8; 
}

.blurred {
    filter: blur(4px);
    pointer-events: none; 
}


details:nth-of-type(3) ol li::before {
    content: "$" attr(data-marker) " -";
    display: inline-block;
    margin-right: 0.25em;
    font-weight: bold;
    text-align: center;
}

/* ---------- BASE ---------- */
body {
    font-family: Calibri, sans-serif;
    font-size: 14px;
    line-height: 1.2rem;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    color: #2f4858;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    
    
    background: url('background.png') no-repeat center top;
    background-size: cover;
    background-attachment: fixed;
    background-color: #005fbf;
}


@supports (-webkit-touch-callout: none) {
    body {
        background-attachment: scroll;
    }
}

.container-wrapper {
    max-width: 600px;
    width: 90%;
    margin: 200px 365px 8vw;
    box-sizing: border-box;
}


.timer-container {
  max-width: 600px;
  width: 100%;
  margin: 0 auto 10px;
  display: flex;
  justify-content: center;
  transform: translateX(50px); 
}


.timer-container iframe {
  width: 100%;
  max-width: 520px;
  height: 157px;   
  border: none;
  display: inline;
  overflow: hidden; 
}


/* ---------- MAIN CONTENT ---------- */
.container {
    width: 100%;
    background: rgba(112, 171, 255, 0.95);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    color: rgb(13,75,163);
    box-sizing: border-box;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}
.header-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.header-text-block h1 {
  margin: 0 0 36px 0;
  font-size: 1.65rem;
  text-align: center;
}
.header-welcome {
  display: inline;
  font-size: 1.1rem;
  font-style: italic;
  color: rgb(13,75,163);
  margin: 0 0 0 0;
  text-align: center;
  width: 100%;
}
.header-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.header-logo {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.header-image {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 12px;
    vertical-align: middle;
}

.header-welcome {
    margin-top: 18px;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--main-blue);
    text-align: center;
    width: 100%;
}


details {
    margin-bottom: 10px;
    border-radius: 6px;
    padding: 10px;
    background-color: #518fe7e6;
    position: relative;
    box-sizing: border-box;
}
summary {
    font-weight: bold; cursor: pointer; display:flex; align-items:center; outline:none;
}
summary::before { content:"▶"; margin-right:10px; transition: transform .28s ease; }
.open summary::before{ transform: rotate(90deg); }
summary::-webkit-details-marker{ display:none; }
details[open]{ background:#eef2f7; }
.content { overflow:hidden; max-height:0; transition: max-height .36s ease; }
.content p {
  margin-top:10px;
  font-size: 1rem;
  font-style: italic;
  color: rgb(112,170,252);
}

details ol {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

details ol li {
  display: flex;
  align-items: center;
  font-size: 0.98rem;
  font-style: italic;
  color: rgb(13,75,163);
  margin-bottom: 0.2em;
}

details ol li::before {
  content: attr(data-marker) " - " ;
  display: inline-block;
  margin-right: 0.25em;
  font-weight: bold;
  text-align: center;
}
details:nth-of-type(2) ol li::before {
  content: "$" attr(data-marker) " -";
  display: inline-block;
  margin-right: 0.25em;
  font-weight: bold;
  text-align: center;
}

.side-buttons {
    position: absolute;   
    top: 0;               
    display: flex;
    flex-direction: column;
    gap: 10px;            
    align-items: center;
    z-index: 9999;
}

.side-buttons a { 
    display:flex; 
    justify-content:center; 
    align-items:center; 
    width:60px;           
}

.side-buttons img { 
    width:48px;           
    height:48px; 
    object-fit:contain; 
    border-radius:5px; 
    transition: transform .18s ease; 
}

.side-buttons .donate-icon { 
    width:60px; 
    height:60px; 
}

.side-buttons img:hover { transform: scale(1.08); }
.side-buttons .round { border-radius:50%; }

@media (max-width: 520px) {
    .side-buttons { display: none; }
    .container-wrapper { 
        width: 95%;
        margin: 20px auto;
        padding: 0 8px;
    }
    
    .timer-container {
        transform: none;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .header-image {
        margin-right: 0;
    }
    
    .timer-container iframe {
        max-width: 100%;
    }
    
    .container {
        padding: 15px;
    }
    
    .header-welcome {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    details {
        padding: 8px;
    }
    
    details ol li, .rates-list li {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 0.4em;
    }
    
    
    details ol li span {
        word-break: break-word;
    }
}


@media (max-width: 360px) {
    .container-wrapper {
        width: 98%;
        margin: 10px auto;
    }
    
    .header-image {
        width: 70px;
        height: 70px;
    }
    
    .header-welcome {
        font-size: 0.9rem;
    }
    
    details ol li, .rates-list li {
        font-size: 0.9rem;
    }
}


.crossed {
  text-decoration: line-through;
  opacity: 0.8; 
}


.blurred {
  filter: blur(4px);
  pointer-events: none; 
}

.rates-content {
  margin-top: 1.5em;
}

.rates-list-space {
  margin-bottom: 1em;
}

.rates-list {
    color: var(--main-blue);
    font-size: 0.98rem;
    font-style: italic;
    padding-left: 0;
    margin: 0;
}

.rates-list-item {
    list-style-type: disc;
    margin-left: 1.5em;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes slideDown {
    from {
        max-height: 0;
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        max-height: 2000px;
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        max-height: 2000px;
        opacity: 1;
        transform: translateY(0);
    }
    to {
        max-height: 0;
        opacity: 0;
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}


.content {
    animation-duration: 0.6s;
    animation-fill-mode: forwards;
}

details[open] .content {
    animation-name: slideDown;
    animation-timing-function: ease-out;
}

details.closing .content {
    animation-name: slideUp;
    animation-timing-function: ease-in;
    animation-duration: 0.25s;
}


details {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

details:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}


details ol li, .rates-list li {
    transition: transform 0.2s ease, padding-left 0.2s ease;
}

details ol li:hover, .rates-list li:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.1);
}


details[open] li {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

details[open] li:nth-child(1) { animation-delay: 0.1s; }
details[open] li:nth-child(2) { animation-delay: 0.2s; }
details[open] li:nth-child(3) { animation-delay: 0.3s; }
details[open] li:nth-child(4) { animation-delay: 0.4s; }
details[open] li:nth-child(5) { animation-delay: 0.5s; }
details[open] li:nth-child(6) { animation-delay: 0.6s; }
details[open] li:nth-child(7) { animation-delay: 0.7s; }
details[open] li:nth-child(8) { animation-delay: 0.8s; }
details[open] li:nth-child(9) { animation-delay: 0.9s; }
details[open] li:nth-child(10) { animation-delay: 1.0s; }
details[open] li:nth-child(n+11) { animation-delay: 1.1s; }


.rates-list-space b {
    display: inline-block;
    animation: pulse 2s infinite;
}


.container-wrapper,
.side-buttons {
    opacity: 0;
    transform: translateY(10px); 
}


.page-loaded .container-wrapper,
.page-loaded .side-buttons {
    animation: fadeInUp 0.9s ease forwards;
}
details:nth-of-type(2) ol li {
  display: flex;
  align-items: center;
  font-size: 0.98rem;
  font-style: italic;
  color: rgb(13,75,163);
  margin-bottom: 0.2em;
    }