* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: var(--bg-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3vw;
    overflow-x: hidden;
}

.container {
    width: 100%;
}

.header {
    text-align: center;
    margin-bottom: 2vh;
    padding-top: 5vh;
    animation: fadeInDown 0.8s ease;
}

.logo-title {
    font-size: 8vw;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.3vw;
    text-shadow: 0 0.5vh 1.5vh rgba(0, 0, 0, 0.4);
}

.logo-subtitle {
    font-size: 3.5vw;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.1vw;
}

.download-buttons {
    position: absolute;
    top: 1vh;
    right: 3vw;
    display: flex;
    gap: 2vw;
    z-index: 100;
    animation: slideInRight 0.6s ease;
}

.download-btn {
    background: var(--bg-glass);
    border: 0.2vw solid var(--card-border);
    border-radius: 2vw;
    padding: 1.5vh 3vw;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 2vw;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    backdrop-filter: blur(1vw);
    position: relative;
    overflow: hidden;
    font-size: 3vw;
    font-weight: 600;
    color: var(--text-primary);
}

.download-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 217, 232, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-btn:hover::before {
    opacity: 1;
}

.download-btn:hover {
    transform: translateY(-0.5vh);
    background: var(--btn-secondary-hover);
    border-color: var(--card-border-hover);
    box-shadow: 
        0 1vh 3vh rgba(0, 217, 232, 0.4),
        inset 0 0.2vh 0 rgba(255, 255, 255, 0.15);
}

.download-btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.language-section {
    text-align: center;
    margin-bottom: 1vh;
    animation: fadeInDown 0.8s ease 0.15s both;
    display: flex;
    justify-content: center;
}

.LanguageBtn {
    background: var(--btn-primary-bg);
    border: none;
    border-radius: 2vw;
    padding: 1vh 6vw;
    font-size: 4vw;
    font-weight: 600;
    color: var(--btn-primary-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 2vw;
    box-shadow: var(--btn-primary-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(1vw);
    margin: 0 auto 2vh auto;
}

.LanguageBtn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.LanguageBtn:hover::before {
    opacity: 1;
}

.LanguageBtn:hover {
    background: var(--btn-primary-hover);
    box-shadow: 
        0 1vh 3vh rgba(0, 217, 232, 0.4),
        inset 0 0.2vh 0 rgba(255, 255, 255, 0.2);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3vw;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.2s both;
    max-width: 100%;
    margin: 0 auto;
}

.menu-card {
    background: var(--card-bg);
    border-radius: 3vw;
    padding: 4vh 3vw;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 0.2vw solid var(--card-border);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 20vh;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 217, 232, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.menu-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.menu-card:hover::before {
    opacity: 1;
}

.menu-card:hover::after {
    opacity: 1;
}

.menu-card:hover {
    transform: translateY(-1vh);
    background: var(--btn-secondary-hover);
    box-shadow: 
        var(--card-shadow-hover),
        inset 0 0.2vh 0 rgba(255, 255, 255, 0.2),
        0 0 0 0.2vw var(--card-border-hover);
    border-color: var(--card-border-hover);
}

.menu-card-icon {
    font-size: 10vw;
    margin-bottom: 1.5vh;
    display: block;
    filter: drop-shadow(0 0.5vh 1vh rgba(0, 0, 0, 0.4));
}

.menu-card-title {
    font-size: 6vw;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1vh;
}

.menu-card-desc {
    font-size: 4vw;
    color: var(--text-secondary);
    line-height: 1.4;
}

.google-login-footer {
    text-align: center;
    margin-top: 4vh;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.footer-buttons {
    display: flex;
    flex-direction: column;
    gap: 2vh;
    justify-content: center;
    align-items: center;
}

.google-login-btn {
    background: var(--btn-secondary-bg);
    border: 0.2vw solid var(--btn-secondary-border);
    border-radius: 10vw;
    padding: 1.5vh 6vw;
    font-size: 5vw;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 2vw;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    backdrop-filter: blur(1vw);
    position: relative;
    overflow: hidden;
    width: 100%;
    justify-content: center;
}

.google-login-btn:hover {
    transform: translateY(-0.5vh);
    background: var(--btn-secondary-hover);
    border-color: var(--accent-primary);
    box-shadow: 
        0 1vh 3vh rgba(0, 217, 232, 0.4),
        inset 0 0.2vh 0 rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(1.5vw);
}

.subscribe-btn {
    background: linear-gradient(135deg, #FFB800 0%, #FF8C00 60%, #FF6B00 100%);
    border: 0.2vw solid rgba(255, 184, 0, 0.4);
    border-radius: 10vw;
    padding: 1.5vh 6vw;
    font-size: 5vw;
    font-weight: 600;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 2vw;
    box-shadow: 0 0.5vh 2vh rgba(255, 140, 0, 0.4);
    transition: all 0.3s ease;
    backdrop-filter: blur(1vw);
    position: relative;
    overflow: hidden;
    animation: pulseGlow 2s ease-in-out infinite;
    width: 100%;
    justify-content: center;
}

.subscribe-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.subscribe-btn:hover::before {
    opacity: 1;
}

.subscribe-btn:hover {
    transform: translateY(-0.5vh) scale(1.05);
    background: linear-gradient(135deg, #FFC933 0%, #FFA000 60%, #FF8000 100%);
    border-color: rgba(255, 184, 0, 0.7);
    box-shadow: 
        0 1vh 3vh rgba(255, 140, 0, 0.6),
        inset 0 0.2vh 0 rgba(255, 255, 255, 0.3);
}

.subscribe-icon {
    font-size: 6vw;
    animation: starRotate 3s linear infinite;
}

.login-hint {
    margin-top: 1.5vh;
    font-size: 3vw;
    color: var(--text-secondary);
    opacity: 0.8;
}

.disabled {
    position: relative;
    cursor: not-allowed;
    opacity: 0.6;
}

.disabled .disabled-overlay {
    display: none;
}

.disabled:hover .disabled-overlay {
    display: flex;
}

.disabled-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-weight: 600;
    font-size: 6vw;
    justify-content: center;
    align-items: center;
    border-radius: inherit;
    z-index: 10;
    pointer-events: none;
}

.language-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.language-modal.active {
    opacity: 1;
    visibility: visible;
}

.language-modal-overlay {
    position: absolute;
    inset: 0;
    background: var(--bg-dark);
    backdrop-filter: blur(1.5vw);
    animation: overlayFadeIn 0.4s ease;
}

.language-modal-content {
    position: relative;
    background: var(--bg-glass);
    border-radius: 4vw;
    padding: 2vh 4vw;
    width: 90vw;
    max-height: 80vh;
    box-shadow: 
        var(--shadow-xl),
        0 0 0 0.2vw var(--card-border);
    transform: scale(0.9) translateY(2vh);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow-y: auto;
}

.language-modal.active .language-modal-content {
    transform: scale(1) translateY(0);
}

.language-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3vh;
}

.language-modal-close {
    background: var(--btn-secondary-bg);
    border: none;
    width: 10vw;
    height: 10vw;
    border-radius: 50%;
    font-size: 6vw;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.language-modal-close:hover {
    background: var(--btn-secondary-hover);
    transform: rotate(90deg);
}

.language-section-wrapper {
    margin-bottom: 4vh;
}

.language-section-wrapper:last-of-type {
    margin-bottom: 0;
}

.section-title {
    font-size: 5vw;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
}

.section-divider {
    height: 0.2vh;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--border-normal) 20%,
        var(--border-normal) 80%,
        transparent 100%
    );
    margin: 0;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2vw;
}

.lang-btn {
    background: var(--card-bg);
    border: 0.2vw solid var(--card-border);
    border-radius: 2vw;
    padding: 1.5vh 2vw;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    box-shadow: var(--shadow-md), inset 0 0.2vh 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    font-size: 4vw;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

.lang-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 217, 232, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lang-btn:hover::before {
    opacity: 1;
}

.lang-btn:hover {
    transform: translateY(-0.5vh);
    box-shadow: 
        0 1vh 2.5vh rgba(0, 0, 0, 0.5),
        inset 0 0.2vh 0 rgba(255, 255, 255, 0.1);
    border-color: var(--card-border-hover);
}

.lang-btn.active {
    background: var(--btn-primary-bg);
    border-color: var(--accent-primary);
    box-shadow: 
        var(--btn-primary-shadow),
        inset 0 0.2vh 0 rgba(255, 255, 255, 0.2);
    transform: scale(1.03);
    color: var(--btn-primary-text);
}

.payment-modal {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.payment-modal.active {
    opacity: 1;
    visibility: visible;
}

.payment-modal-overlay {
    position: absolute;
    inset: 0;
    background: var(--bg-dark);
    backdrop-filter: blur(1.5vw);
}

.payment-modal-content {
    position: relative;
    background: var(--bg-glass);
    border-radius: 4vw;
    padding: 2vh 4vw;
    width: 90vw;
    height: 85vh;
    box-shadow: 
        var(--shadow-xl),
        0 0 0 0.2vw var(--card-border);
    transform: scale(0.9) translateY(2vh);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow-y: auto;
}

.payment-modal.active .payment-modal-content {
    transform: scale(1) translateY(0);
}

.payment-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1vh;
}

.payment-title {
    font-size: 6vw;
    font-weight: 700;
    color: var(--text-primary);
}

.payment-modal-close {
    background: var(--btn-secondary-bg);
    border: none;
    width: 10vw;
    height: 10vw;
    border-radius: 50%;
    font-size: 6vw;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-modal-close:hover {
    background: var(--btn-secondary-hover);
    transform: rotate(90deg);
}

.payment-body {
    display: flex;
    flex-direction: column;
    gap: 3vh;
}

.plan-selection h4 {
    color: #EAF2FA;
    font-size: 5vw;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2vh;
    text-shadow: 0 0.5vh 1vh rgba(0, 0, 0, 0.3);
}

.plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6vw;
}

.plan-card {
    background: var(--card-bg);
    border: 0.3vw solid var(--card-border);
    border-radius: 3vw;
    padding: 3vh 4vw;
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-md), inset 0 0.2vh 0 rgba(255, 255, 255, 0.05);
    overflow: visible;
    display: flex;                    /* Yeni */
    flex-direction: column;           /* Yeni */
}

.plan-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 217, 232, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 2vw;
}

.plan-card:hover::before {
    opacity: 1;
}

.plan-card:hover {
    transform: translateY(-1vh);
    border-color: var(--card-border-hover);
    box-shadow: 
        0 1vh 2.5vh rgba(0, 0, 0, 0.5),
        inset 0 0.2vh 0 rgba(255, 255, 255, 0.1);
}

.plan-card.premium {
    border-color: rgba(255, 184, 0, 0.5);
    background: linear-gradient(145deg, #2E3B1F, #1F2614);
}

.plan-card.premium:hover {
    border-color: rgba(255, 184, 0, 0.7);
    box-shadow: 
        0 1vh 2.5vh rgba(255, 184, 0, 0.2),
        inset 0 0.2vh 0 rgba(255, 255, 255, 0.1);
}

.plan-card.selected {
    border-color: var(--btn-success-bg) !important;
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05)) !important;
    box-shadow: 
        0 1vh 3vh rgba(16, 185, 129, 0.4),
        inset 0 0.2vh 0 rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.plan-badge {
    position: absolute;
    top: -1.5vh;
    right: 2vw;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    padding: 1vh 3vw;
    border-radius: 5vw;
    font-size: 2.8vw;
    font-weight: bold;
    box-shadow: 0 0.5vh 1vh rgba(33, 150, 243, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.1vw;
}

.plan-badge.save {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    box-shadow: 0 0.5vh 1vh rgba(255, 152, 0, 0.4);
}

.plan-badge.premium {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    box-shadow: 0 0.5vh 1vh rgba(255, 215, 0, 0.5);
    color: #000;
}

.plan-name {
    color: var(--text-primary);
    font-size: 4.5vw;
    font-weight: 700;
    margin: 1.5vh 0 2vh 0;
    text-align: center;
    text-shadow: 0 0.5vh 1vh rgba(0, 0, 0, 0.3);
}

.plan-price {
    text-align: center;
    margin: 2vh 0;
    line-height: 1;
}

.plan-price .currency {
    font-size: 5vw;
    color: #FFB800;
    vertical-align: super;
    margin-right: 0.5vw;
}

.plan-price .amount {
    font-size: 8vw;
    font-weight: 700;
    color: #FFB800;
    text-shadow: 0 0.5vh 1vh rgba(255, 184, 0, 0.3);
}

.plan-price .period {
    font-size: 4vw;
    color: #C5D4E0;
    margin-left: 1vw;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 2vh 0;
}

.plan-features li {
    color: var(--text-secondary);
    font-size: 3.5vw;
    padding: 1vh 0;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.plan-features li:hover {
    color: var(--text-primary);
}

.select-plan-btn {
    width: 100%;
    padding: 2vh 4vw;
    font-size: 4vw;
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: none;
    border-radius: 2vw;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--btn-primary-shadow);
    position: relative;
    overflow: hidden;
}

.select-plan-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.select-plan-btn:hover::before {
    opacity: 1;
}

.select-plan-btn:hover {
    background: var(--btn-primary-hover);
    transform: scale(1.03);
    box-shadow: 0 1vh 2vh rgba(0, 217, 232, 0.4);
}

.price-tag {
    text-align: center;
    margin-bottom: 2vh;
}

.currency {
    font-size: 6vw;
    color: #FFB800;
    vertical-align: super;
}

.amount {
    font-size: 12vw;
    font-weight: 700;
    color: #FFB800;
}

.period {
    font-size: 4vw;
    color: #C5D4E0;
    margin-left: 2vw;
}

.profile-btn {
    background: var(--bg-glass);
    border: 0.2vw solid var(--card-border);
    border-radius: 50%;
    width: 12vw;
    height: 12vw;
    font-size: 6vw;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    backdrop-filter: blur(1vw);
    position: relative;
    overflow: hidden;
}

.profile-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 217, 232, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.profile-btn:hover::before {
    opacity: 1;
}

.profile-btn:hover {
    transform: translateY(-0.5vh);
    background: var(--btn-secondary-hover);
    border-color: var(--card-border-hover);
    box-shadow: 
        0 1vh 3vh rgba(0, 217, 232, 0.4),
        inset 0 0.2vh 0 rgba(255, 255, 255, 0.15);
}

.profile-modal {
    position: fixed;
    inset: 0;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.profile-modal.active {
    opacity: 1;
    visibility: visible;
}

.profile-modal-overlay {
    position: absolute;
    inset: 0;
    background: var(--bg-dark);
    backdrop-filter: blur(1.5vw);
}

.profile-modal-content {
    position: relative;
    background: var(--bg-glass);
    border-radius: 4vw;
    padding: 2vh 4vw;
    width: 90vw;
    max-height: 80vh;
    box-shadow: 
        var(--shadow-xl),
        0 0 0 0.2vw var(--card-border);
    transform: scale(0.9) translateY(2vh);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow-y: auto;
}

.profile-modal.active .profile-modal-content {
    transform: scale(1) translateY(0);
}

.profile-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3vh;
}

.profile-title {
    font-size: 6vw;
    font-weight: 700;
    color: var(--text-primary);
}

.profile-modal-close {
    background: var(--btn-secondary-bg);
    border: none;
    width: 10vw;
    height: 10vw;
    border-radius: 50%;
    font-size: 6vw;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-modal-close:hover {
    background: var(--btn-secondary-hover);
    transform: rotate(90deg);
}

.profile-body {
    display: flex;
    flex-direction: column;
    gap: 3vh;
}

.profile-info {
    background: var(--card-bg);
    border: 0.2vw solid var(--card-border);
    border-radius: 2vw;
    padding: 3vh 4vw;
}

.profile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2vh 0;
    border-bottom: 0.1vh solid var(--card-border);
}

.profile-row:last-child {
    border-bottom: none;
}

.profile-label {
    font-size: 4vw;
    color: var(--text-secondary);
    font-weight: 600;
}

.profile-value {
    font-size: 4vw;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-value:hover {
    color: var(--accent-primary);
    transform: scale(1.05);
}

.cancel-subscription-btn {
    background: var(--btn-danger-bg);
    color: var(--btn-danger-text);
    border: none;
    border-radius: 2vw;
    padding: 2vh 4vw;
    font-size: 4vw;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1vh 3vh rgba(239, 68, 68, 0.3);
}

.cancel-subscription-btn:hover {
    background: var(--btn-danger-hover);
    transform: scale(1.05);
    box-shadow: 0 2vh 4vh rgba(239, 68, 68, 0.4);
}

.cancel-subscription-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(1.5vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3vh;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 15vw;
    height: 15vw;
    border: 1vw solid rgba(0, 217, 232, 0.2);
    border-top: 1vw solid var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    font-size: 4.5vw;
    color: var(--text-primary);
    font-weight: 600;
    text-align: center;
    animation: pulse 1.5s ease-in-out infinite;
}

.payment-info-notice {
    background: var(--card-bg);
    border: 0.2vw solid var(--card-border);
    border-radius: 2vw;
    padding: 2vh 2vw;
}

.notice-line {
    font-size: 3.5vw;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 1vh 0;
    text-align: left;
}

.notice-line:last-child {
    margin-bottom: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-3vh);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(3vh);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(5vw);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes overlayFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0.5vh 2vh rgba(255, 140, 0, 0.4);
    }
    50% {
        box-shadow: 0 0.5vh 3vh rgba(255, 140, 0, 0.7);
    }
}

@keyframes starRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (min-width: 768px) {
    body {
        padding: 2vw;
    }

    .container {
        max-width: 90vw;
    }

    .header {
        margin-bottom: 2vh;
        padding-top: 4vh;
    }

    .logo-title {
        font-size: 5vw;
    }

    .logo-subtitle {
        font-size: 2vw;
    }

    .download-buttons {
        top: 1vh;
        right: 2vw;
        gap: 1vw;
    }
    
    .download-btn {
        padding: 1.5vh 2vw;
        font-size: 1.8vw;
        border-radius: 1vw;
    }

    .LanguageBtn {
        padding: 1vh 4vw;
        font-size: 2.5vw;
        border-radius: 1.5vw;
        margin-bottom: 2vh;
    }

    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2vw;
        max-width: 85vw;
    }
    
    .menu-card {
        padding: 2vh 2.5vw;
        border-radius: 2vw;
        min-height: 20vh;
    }

    .menu-card-icon {
        font-size: 6vw;
        margin-bottom: 1.5vh;
    }

    .menu-card-title {
        font-size: 3.2vw;
        margin-bottom: 0.7vh;
    }

    .menu-card-desc {
        font-size: 2.1vw;
    }

    .footer-buttons {
        flex-direction: row;
        gap: 2vw;
    }
    
    .subscribe-btn,
    .google-login-btn {
        width: auto;
        padding: 1.5vh 4vw;
        font-size: 2.5vw;
        border-radius: 6vw;
    }

    .subscribe-icon {
        font-size: 2.5vw;
    }

    .login-hint {
        font-size: 1.8vw;
    }

    .language-modal-content {
        width: 70vw;
        padding: 2vh 3vw;
        border-radius: 2.5vw;
    }

    .language-modal-close {
        width: 6vw;
        height: 6vw;
        font-size: 3.5vw;
    }

    .section-title {
        font-size: 3vw;
    }

    .language-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5vw;
    }
    
    .lang-btn {
        font-size: 2.2vw;
        border-radius: 1.5vw;
        padding: 1.5vh 1.5vw;
    }

    .payment-modal-content {
        width: 100vw;
        height: 100vh;
        padding: 2vh 3vw;
        border-radius: 2.5vw;
    }

    .payment-title {
        font-size: 3.5vw;
    }

    .payment-modal-close {
        width: 6vw;
        height: 6vw;
        font-size: 3.5vw;
    }

    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3vw;
    }
    
    .plan-card {
        padding: 1.5vh 3vw;
        border-radius: 2vw;
    }

    .plan-badge {
        font-size: 1.6vw;
        padding: 0.8vh 2vw;
    }

    .plan-name {
        font-size: 2.5vw;
        margin: 1.2vh 0 1.5vh 0;
    }

    .plan-price .currency {
        font-size: 3vw;
    }

    .plan-price .amount {
        font-size: 5vw;
    }

    .plan-price .period {
        font-size: 1.8vw;
    }

    .plan-features li {
        font-size: 2.1vw;
        padding: 0.8vh 0;
    }

    .select-plan-btn {
        padding: 1.5vh 3vw;
        font-size: 2.5vw;
    }

 

    *::-webkit-scrollbar {
        width: 1vw;
    }

    .language-modal-content::-webkit-scrollbar,
    .payment-modal-content::-webkit-scrollbar {
        width: 0.8vw;
    }

    .profile-btn {
        width: 6vw;
        height: 6vw;
        font-size: 3vw;
        border-width: 0.1vw;
    }

    .profile-modal-content {
        width: 60vw;
        padding: 3vh 3vw;
        border-radius: 2vw;
    }

    .profile-title {
        font-size: 3vw;
    }

    .profile-modal-close {
        width: 6vw;
        height: 6vw;
        font-size: 3.5vw;
    }

    .profile-label,
    .profile-value {
        font-size: 2vw;
    }

    .cancel-subscription-btn {
        padding: 2vh 4vw;
        font-size: 2.2vw;
        border-radius: 1vw;
    }  

    .loading-spinner {
        width: 10vw;
        height: 10vw;
        border-width: 0.6vw;
    }
    
    .loading-text {
        font-size: 2.5vw;
    }   
    
    .payment-info-notice {
        padding: 2vh 2vw;
        border-radius: 1.5vw;
    }
    
    .notice-line {
        font-size: 2vw;
    }    
}

@media (min-width: 1024px) {
    body {
        overflow: hidden;
        padding: 1.5vw;
    }
    
    .container {
        max-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-width: 45vw;
    }

    .header {
        padding-top: 2vh;
        margin-bottom: 2.5vh;
    }
    
    .logo-title {
        font-size: 3vw;
        letter-spacing: 0.15vw;
    }
    
    .logo-subtitle {
        font-size: 0.8vw;
        letter-spacing: 0.05vw;
    }

    .download-buttons {
        top: 1.5vh;
        right: 1.5vw;
        gap: 0.6vw;
    }
    
    .download-btn {
        padding: 1vh 1.5vw;
        font-size: 0.9vw;
        border-radius: 0.5vw;
        border-width: 0.1vw;
    }

    .language-section {
        margin-bottom: 2vh;
    }

    .LanguageBtn {
        margin-bottom: 3vh;
        padding: 1.2vh 2.5vw;
        font-size: 0.9vw;
        border-radius: 0.8vw;
        gap: 0.8vw;
    }

    .menu-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.1vw;
        margin-bottom: 2vh;
        max-width: 65vw;
    }
    
    .menu-card {
        width: auto;
        padding: 2vh 1vw;
        border-radius: 1.2vw;
        border-width: 0.1vw;
        min-height: 18vh;
    }
    
    .menu-card-icon {
        font-size: 2.5vw;
        margin-bottom: 1vh;
    }
    
    .menu-card-title {
        font-size: 1vw;
        margin-bottom: 0.5vh;
    }
    
    .menu-card-desc {
        font-size: 0.8vw;
    }

    .google-login-footer {
        margin-top: 2.2vh;
    }
    
    .footer-buttons {
        gap: 1vw;
    }
    
    .subscribe-btn,
    .google-login-btn {
        padding: 1.2vh 2.5vw;
        font-size: 1vw;
        border-radius: 3vw;
        gap: 0.8vw;
        border-width: 0.1vw;
    }

    .subscribe-icon {
        font-size: 1vw;
    }

    .login-hint {
        margin-top: 0.9vh;
        font-size: 0.7vw;
    }

    .language-modal-content {
        width: 50vw;
        padding: 3vh 2.5vw;
        border-radius: 1.5vw;
        border-width: 0.1vw;
    }

    .language-modal-close {
        width: 3vw;
        height: 3vw;
        font-size: 1.8vw;
    }

    .section-title {
        font-size: 1.6vw;
        margin-bottom: 1.5vh;
    }

    .section-divider {
        height: 0.1vh;
        margin: 2.5vh 0;
    }

    .language-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1vw;
    }
    
    .lang-btn {
        min-height: 6vh;
        padding: 1.2vh 1vw;
        font-size: 1vw;
        border-radius: 0.8vw;
        border-width: 0.1vw;
    }

    .payment-modal-content {
        width: 80vw;
        height: 75vh;
        padding: 3vh 2.5vw;
        border-radius: 1.5vw;
        overflow: hidden;
    }

    .payment-title {
        font-size: 2vw;
    }

    .payment-modal-close {
        width: 3vw;
        height: 3vw;
        font-size: 1.8vw;
    }

    .payment-body {
        gap: 2.5vh;
    }

    .plans-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.2vw;
        margin-bottom: 2vh;
    }

    .plan-card::before {
        border-radius: 1vw;
    }    
    
    .plan-card {
        padding: 2vh 1.5vw;
        border-radius: 1.2vw;
        border-width: 0.15vw;
    }

    .plan-badge {
        top: -1vh;
        right: 1vw;
        padding: 0.5vh 1.2vw;
        border-radius: 2vw;
        font-size: 0.7vw;
        letter-spacing: 0.05vw;
    }
    
    .plan-name {
        font-size: 1.2vw;
        margin: 1vh 0 1.5vh 0;
    }
    
    .plan-price {
        margin: 1.5vh 0;
    }

    .plan-price .currency {
        font-size: 1.5vw;
        margin-right: 0.2vw;
    }
    
    .plan-price .amount {
        font-size: 2.5vw;
    }
    
    .plan-price .period {
        font-size: 0.9vw;
        margin-left: 0.4vw;
    }
    
    .plan-features {
        margin: 1.5vh 0;
    }

    .plan-features li {
        font-size: 0.85vw;
        padding: 0.6vh 0;
    }
    
    .select-plan-btn {
        padding: 1vh 1.5vw;
        font-size: 0.95vw;
        border-radius: 0.8vw;
    }

    .plan-selection h4 {
        font-size: 1.6vw;
        margin-bottom: 2vh;
    }

    .selected-plan-summary h4 {
        font-size: 1.4vw;
        margin-bottom: 1.2vh;
    }

    .summary-box {
        padding: 1.5vh 2vw;
        border-radius: 0.8vw;
        border-width: 0.1vw;
    }

    .summary-box span:first-child {
        font-size: 1.1vw;
    }

    .summary-box span:last-child {
        font-size: 1.3vw;
    }

    .payment-form h4 {
        font-size: 1.4vw;
        margin: 2vh 0 1.5vh;
    }

    .subscription-info {
        padding: 2.5vh 2vw;
        border-radius: 0.8vw;
        border-width: 0.1vw;
    }

    .price-tag {
        margin-bottom: 2vh;
    }

    .currency {
        font-size: 2vw;
    }

    .amount {
        font-size: 4vw;
    }

    .period {
        font-size: 1.2vw;
        margin-left: 0.6vw;
    }

    .features-list li {
        padding: 1vh 0;
        padding-left: 2.5vw;
        font-size: 1vw;
    }

    .features-list li::before {
        font-size: 1.3vw;
    }

    .card-element {
        padding: 1.5vh 1.5vw;
        border-radius: 0.6vw;
        border-width: 0.1vw;
    }

    .card-errors {
        font-size: 0.9vw;
        min-height: 1.5vh;
        margin-top: 0.8vh;
    }

    .pay-button {
        padding: 1.5vh 3vw;
        font-size: 1.2vw;
        border-radius: 0.8vw;
    }

    .disabled-overlay {
        font-size: 1.2vw;
    }

    *::-webkit-scrollbar {
        width: 0.5vw;
    }

    *::-webkit-scrollbar-thumb {
        border-radius: 0.5vw;
        border-width: 0.08vw;
    }

    .language-modal-content::-webkit-scrollbar,
    .payment-modal-content::-webkit-scrollbar {
        width: 0.4vw;
    }

    .language-modal-content::-webkit-scrollbar-thumb,
    .payment-modal-content::-webkit-scrollbar-thumb {
        border-radius: 0.5vw;
    }

    .profile-btn {
        width: 3vw;
        height: 3vw;
        font-size: 1.5vw;
        border-width: 0.08vw;
    }

    .profile-modal-content {
        width: 35vw;
        padding: 3vh 2.5vw;
        border-radius: 1.5vw;
        border-width: 0.1vw;
    }

    .profile-title {
        font-size: 2vw;
    }

    .profile-modal-close {
        width: 3vw;
        height: 3vw;
        font-size: 1.8vw;
    }

    .profile-info {
        padding: 2vh 2vw;
        border-radius: 1vw;
        border-width: 0.1vw;
    }

    .profile-row {
        padding: 1.5vh 0;
    }

    .profile-label,
    .profile-value {
        font-size: 1.2vw;
    }

    .cancel-subscription-btn {
        padding: 1.5vh 3vw;
        font-size: 1.3vw;
        border-radius: 0.8vw;
    } 
    
    .loading-spinner {
        width: 6vw;
        height: 6vw;
        border-width: 0.4vw;
    }
    
    .loading-text {
        font-size: 1.5vw;
    }
  
    .payment-info-notice {
        padding: 1.5vh 2vw;
        border-radius: 1vw;
        border-width: 0.1vw;
    }

    .notice-line {
        font-size: 0.9vw;
        margin: 0.8vh 0;
    }    
}