:root {
    --bg: #0d1117;
    --bg2: #161b22;
    --text: #e6edf3;
    --accent: #5865f2;
    --accent2: #8b5cf6;
    --border: #30363d;
    --success: #2ecc71;
    --glow: rgba(88, 101, 242, 0.4);
}
body.light { --bg: #ffffff; --bg2: #f5f5f5; --text: #111111; --border: #d0d7de; }

* { margin:0; padding:0; box-sizing:border-box; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.7;
}

header {
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.profile-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #4752c4;
    padding: 8px 12px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-width: fit-content;
    cursor: pointer;
}


.profile {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-name {
    font-weight: bold;
    font-size: 14px;
    margin: 0;
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
}


@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-5px); }
}

.dropdown {
    position: absolute;
    top: 58px;
    right: 0;
    background-color: #4752c4;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    min-width: 129px;
    z-index: 10;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.dropdown.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}





.dropdown-item {
    padding: 10px 12px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.dropdown-item:hover {
    background-color: rgba(0,123,255,0.1);
}


.profile-box:hover .dropdown {
    display: flex;
}

.header-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.header-links-items {
    color: var(--text);
    cursor: pointer;
    text-decoration: none;
}

.header-links-items:hover {
    color: var(--accent);
}

.none-color-link {
    color: inherit;
    text-decoration: none;
}


header h1 {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #5865f2, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
#theme-toggle {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
#theme-toggle:hover {
    background: var(--accent);
    color: white;
}

.hero {
    text-align: center;
    padding: 100px 20px 80px;
    background: linear-gradient(135deg, rgba(88,101,242,0.15), rgba(139,92,246,0.1));
    border-bottom: 1px solid var(--border);
}
.hero h1 {
    font-size: clamp(42px, 8vw, 68px);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #8b5cf6, #5865f2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 19px;
    max-width: 720px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.tiers {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}
.tier {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}
.tier:hover {
    transform: translateY(-16px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    border-color: var(--accent);
}
.tier.popular {
    border: 2px solid var(--accent);
    transform: scale(1.05);

}
.tier.popular::before {
    content: "Most Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #a371f7;
    color: white;
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: bold;
    z-index: 10;
    margin-top: 17px;
}

.tier-header {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: white;
    padding: 28px 24px;
    text-align: center;

}
.tier-header h3 {
    font-size: 24px;
    margin-bottom: 8px;
    margin-top: 17px;
}
.tier-header .price {
    font-size: 42px;
    font-weight: 800;
}
.tier-header small { opacity: 0.9; font-size: 14px; }

.tier-body {
    padding: 32px 24px;
}
.tier ul {
    list-style: none;
    margin-bottom: 32px;
}
.tier li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}
.tier li i { color: var(--success); }

.btn-donate {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: all 0.3s;
}
.btn-primary {
    background: linear-gradient(135deg, #5865f2, #8b5cf6);
    color: white;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 25px var(--glow); }

.other-ways {
    max-width: 1000px;
    margin: 100px auto;
    padding: 0 20px;
    text-align: center;
}
.other-ways h2 { font-size: 36px; margin-bottom: 20px; }
.platforms {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}
.platform {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    width: 260px;
    transition: all 0.3s;
    text-decoration: none;
    color: var(--text);
}
.platform:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}
.platform i {
    font-size: 42px;
    margin-bottom: 16px;
    display: block;
}
.platform span {
    font-weight: 600;
    font-size: 18px;
}

footer {
    margin-top: auto;
    background: var(--bg2);
    padding: 60px 20px 40px;
    text-align: center;
    border-top: 1px solid var(--border);
}
.heart { color: #e91e63; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { transform:scale(1); } 50% { transform:scale(1.2); } }

@media (max-width: 768px) {
    .hero { padding: 80px 20px; }
    .hero h1 { font-size: 48px; }
    .tiers { gap: 24px; }
    .tier.popular { transform: none; }
}