
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #0e0f12;
    color: #f0f0f0;
    line-height: 1.5;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}


.header {
    background: #14161b;
    border-bottom: 1px solid #2a2f38;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #a0c0ff, #6c8cbf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: #b0c9e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 1.1rem;
}

.nav-link:hover {
    color: white;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-login {
    background: transparent;
    border: 1px solid #2d445b;
    color: #b0c9e0;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-login:hover {
    border-color: #3e6a8c;
    color: white;
    background: rgba(45, 68, 92, 0.3);
}

.btn-register {
    background: #1f3b4f;
    border: none;
    color: white;
    padding: 0.5rem 1.8rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
    box-shadow: 0 4px 12px rgba(0, 30, 50, 0.5);
}

.btn-register:hover {
    background: #2b506b;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-name {
    color: #8ab3d6;
    font-weight: 500;
}

.btn-logout {
    background: transparent;
    border: 1px solid #5a3e3e;
    color: #ffb0b0;
    padding: 0.4rem 1.2rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-logout:hover {
    border-color: #a55;
    color: #ffcaca;
    background: rgba(170, 85, 85, 0.1);
}


.hero {
    margin-bottom: 1rem;
}
.Prew {
    padding: 100px;
}
.hero h2{
     font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #b0b9d6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    width: 1050px;
    display: flex;
    align-items: center;  
    text-align: center;    
    justify-content: center;  
}

.hero h1 {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #b0b9d6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    width: 1050px;
    display: flex;
    align-items: center;     
    text-align: center;      
    justify-content: center;  
}

.hero p {
    font-size: 1.2rem;
    color: #9aa4bf;
    margin-bottom: 2rem;
      align-items: center;   
    text-align: center;     
    justify-content: center; 
}
.Zad{
    background-image: url(../images/gradient_1920_900\ \(1\)\ 1.png);
   height: 735px;
   margin-top: -32px;
   margin-bottom: 32px;
 
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.6rem;
    margin-bottom: 3rem;
    justify-content: center;
    display: flex;
}

.feature-card {
    background: #1a1f27;
    padding: 1.8rem 1.5rem;
    border-radius: 1.8rem;
    border: 1px solid #2a303a;
    display: flex;
    flex-direction: column;
    align-items: center;     
    text-align: center;     
        width: 380px;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center; 
    align-items: center;   
    width: 100%;         
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #cbd5e6;
}

.feature-card p {
    color: #8695b0;
}


.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0 1.5rem;
}

.section-header h2 {
    font-size: 1.8rem;
    color: #e0e7f5;
}
.section-header p {
     font-size: 1.1rem;
    color: #e0e7f5;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: start;
    align-content: start;

}
.view-all {
    color: #8ab3d6;
    text-decoration: none;
    font-size: 1.2rem;
    margin-top: 20px;
}

.view-all:hover {
    text-decoration: underline;
}


.ak{
    margin-top: -25px;
    margin-bottom: 45px;
}
.pp{
    margin-top: -25px;
    margin-bottom: 45px;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-card {
    background: #1a1f27;
    border-radius: 1.8rem;
    overflow: hidden;
    border: 1px solid #2f3a47;
    transition: transform 0.2s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: #3e5670;
}

.product-image {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 5px black;
    background-size: cover;
    background-position: center;
    position: relative;
}

.product-badge {
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.product-info {
    padding: 1.5rem;
}

.product-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #d3def5;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #a5c9ff;
    margin: 0.5rem 0 1rem;
}

.btn-buy {
    background: #2d4055;
    border: none;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}

.btn-buy:hover {
    background: #3b5672;
}


.support-section {
    background: linear-gradient(145deg, #1b222b, #12171f);
    padding: 2.5rem;
    border-radius: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.support-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #d0ddff;
}

.support-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #9dafcf;
}

.btn-support {
    background: #1f3b4f;
    border: none;
    color: white;
    padding: 1rem 3rem;
    border-radius: 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #3e6280;
    transition: background 0.2s;
}

.btn-support:hover {
    background: #2b506b;
}


.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #2a303a;
    color: #7c8aa3;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #9aafcf;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}


.auth-container {
    max-width: 400px;
    margin: 4rem auto;
    background: #1e242c;
    padding: 2.5rem;
    border-radius: 2rem;
    border: 1px solid #2f4055;
}

.auth-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #8ab3d6;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-input {
    background: #0e1219;
    border: 1px solid #2d3a4a;
    padding: 1rem;
    border-radius: 1rem;
    color: white;
    font-size: 1rem;
    width: 100%;
}

.auth-input:focus {
    outline: none;
    border-color: #3e6a8c;
}

.auth-btn {
    background: #1f3b4f;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.2s;
}

.auth-btn:hover {
    background: #2b506b;
}

.error {
    color: #ff8a8a;
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(255, 100, 100, 0.1);
    border-radius: 0.5rem;
}

.success {
    color: #8affb8;
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(100, 255, 150, 0.1);
    border-radius: 0.5rem;
}

.auth-link {
    text-align: center;
    margin-top: 1rem;
    color: #9aa4bf;
}

.auth-link a {
    color: #8ab3d6;
    text-decoration: none;
}

.auth-link a:hover {
    text-decoration: underline;
}

.header .auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header .btn-login,
.header .btn-register {
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.header .btn-login {
    background: transparent;
    border: 1px solid #2d445b;
    color: #b0c9e0;
}

.header .btn-login:hover {
    border-color: #3e6a8c;
    color: white;
    background: rgba(45, 68, 92, 0.3);
}

.header .btn-register {
    background: #1f3b4f;
    border: 1px solid #1f3b4f;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 30, 50, 0.5);
}

.header .btn-register:hover {
    background: #2b506b;
    border-color: #2b506b;
}


.breadcrumbs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: #7c8aa3;
    font-size: 1rem;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: #8ab3d6;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: #b0c9e0;
}


.genre-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #1a1f27;
    border-radius: 3rem;
    border: 1px solid #2f3a47;
    justify-content: center;
}

.genre-btn {
    background: transparent;
    border: 1px solid #2d445b;
    color: #b0c9e0;
    padding: 0.6rem 1.5rem;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.genre-btn:hover {
    border-color: #3e6a8c;
    color: white;
    background: rgba(45, 68, 92, 0.3);
}

.genre-btn.active {
    background: #1f3b4f;
    border-color: #3e6a8c;
    color: white;
}


.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-card {
    background: #1a1f27;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid #2f3a47;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #4a6a8c;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.product-image {
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    color: white;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.product-badge {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-info {
    padding: 1.2rem;
}

.product-genre {
    color: #6c8cbf;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-info h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #e0e7f5;
    line-height: 1.4;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #a5c9ff;
    margin: 0.5rem 0 0.8rem;
}

.btn-buy {
    background: #2d4055;
    border: none;
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s;
    font-size: 0.95rem;
    border: 1px solid #3e5670;
}

.btn-buy:hover {
    background: #3b5672;
    border-color: #5a7fa0;
}


.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    background: #1a1f27;
    border-radius: 2rem;
    padding: 2rem;
    border: 1px solid #2f3a47;
}

.product-gallery {
    background: #0e1219;
    border-radius: 1.5rem;
    padding: 1rem;
}

.main-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.thumbnail-slider {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.thumbnail {
    width: 70px;
    height: 50px;
    background-size: cover;
    background-position: center;
    border-radius: 0.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    flex-shrink: 0;
    border: 2px solid transparent;
}

.thumbnail:hover {
    opacity: 1;
    border-color: #4a6a8c;
}

.product-info-detail {
    padding: 1rem;
}

.product-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.product-description {
    color: #9aa4bf;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-edition {
    background: #0e1219;
    padding: 1rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid #2f3a47;
    color: #a5c9ff;
}

.payment-methods {
    margin: 1.5rem 0;
}

.payment-icons {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.payment-icon {
    background: #0e1219;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    color: #8ab3d6;
    border: 1px solid #2f3a47;
    font-size: 0.9rem;
}

.promo-section {
    margin: 1.5rem 0;
}

.promo-input {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.promo-input input {
    flex: 1;
    background: #0e1219;
    border: 1px solid #2d445b;
    padding: 0.8rem 1rem;
    border-radius: 2rem;
    color: white;
}

.promo-input input:focus {
    outline: none;
    border-color: #4a6a8c;
}

.promo-input button {
    background: #1f3b4f;
    border: 1px solid #3e6280;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.2s;
}

.promo-input button:hover {
    background: #2b506b;
}

.price-section {
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid #2f3a47;
    border-bottom: 1px solid #2f3a47;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: #a5c9ff;
}

.btn-pay {
    width: 100%;
    background: linear-gradient(135deg, #1f3b4f, #152a38);
    border: 1px solid #3e6280;
    color: white;
    padding: 1rem;
    border-radius: 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-pay:hover {
    background: linear-gradient(135deg, #2b506b, #1f4057);
}


.refill-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.refill-info {
    background: #1a1f27;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid #2f3a47;
}

.refill-info h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.refill-description {
    color: #9aa4bf;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.refill-form {
    background: #1a1f27;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid #2f3a47;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #b0c9e0;
}

.form-input {
    width: 100%;
    background: #0e1219;
    border: 1px solid #2d445b;
    padding: 1rem;
    border-radius: 1rem;
    color: white;
    font-size: 1rem;
}

.form-input:focus {
    outline: none;
    border-color: #4a6a8c;
}

.payment-summary {
    background: #0e1219;
    padding: 1rem;
    border-radius: 1rem;
    margin: 1.5rem 0;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: #9aa4bf;
}

.payment-total {
    font-size: 1.3rem;
    font-weight: 700;
    color: #a5c9ff;
    border-top: 1px solid #2f3a47;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
}


.support-section {
    background: linear-gradient(145deg, #1b222b, #12171f);
    padding: 2.5rem;
    border-radius: 2rem;
    margin: 3rem 0;
    text-align: center;
    border: 1px solid #2f3a47;
}

.support-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #d0ddff;
}

.support-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #9dafcf;
    font-size: 1.1rem;
}

.btn-support {
    background: #1f3b4f;
    border: 1px solid #3e6280;
    color: white;
    padding: 1rem 3rem;
    border-radius: 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
    text-decoration: none;
}

.btn-support:hover {
    background: #2b506b;
    transform: scale(1.05);
}


.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #2a303a;
    color: #7c8aa3;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #9aafcf;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}


.product-card {
    width: 100%;
    margin: 0;
}

.product-image {
    height: 160px;
    width: 100%;
    object-fit: cover;
}


.ak, .pp {
    margin-top: -15px;
    margin-bottom: 30px;
}

.ak p, .pp p {
    color: #9aa4bf;
    font-size: 1rem;
}

.refill-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.refill-info {
    background: #1a1f27;
    border-radius: 1.8rem;
    padding: 2rem;
    border: 1px solid #2f3a47;
}

.refill-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.refill-description {
    color: #9aa4bf;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.refill-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #d0ddff;
}

.platform-icon {
    padding: 1rem;
    border-radius: 1rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.platform-icon span {
    font-weight: 700;
    color: white;
}

.warning-message {
    background: rgba(255, 170, 51, 0.1);
    border-left: 4px solid #ffaa33;
    padding: 1rem;
    border-radius: 1rem;
    margin-top: 1.5rem;
    color: #ffd700;
    font-size: 0.95rem;
    line-height: 1.5;
}

.refill-form {
    background: #1a1f27;
    border-radius: 1.8rem;
    padding: 2rem;
    border: 1px solid #2f3a47;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #b0c9e0;
}

.form-input {
    width: 100%;
    background: #0e1219;
    border: 1px solid #2d445b;
    padding: 1rem;
    border-radius: 1rem;
    color: white;
    font-size: 1rem;
}

.form-input:focus {
    outline: none;
    border-color: #3e6a8c;
}

.amount-presets {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.amount-preset {
    background: #0e1219;
    border: 1px solid #2d445b;
    color: #b0c9e0;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.2s;
}

.amount-preset:hover {
    background: #1f3b4f;
    border-color: #3e6a8c;
    color: white;
}

.payment-section {
    margin-bottom: 1.5rem;
}

.payment-section label {
    display: block;
    margin-bottom: 0.5rem;
    color: #b0c9e0;
}

.payment-badges {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.payment-badge {
    background: #0e1219;
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    color: #8ab3d6;
    border: 1px solid #2f3a47;
}

.promo-section {
    margin-bottom: 1.5rem;
}

.promo-section label {
    display: block;
    margin-bottom: 0.5rem;
    color: #b0c9e0;
}

.promo-input-group {
    display: flex;
    gap: 0.5rem;
}

.promo-input-group input {
    flex: 1;
    background: #0e1219;
    border: 1px solid #2d445b;
    padding: 0.8rem 1rem;
    border-radius: 2rem;
    color: white;
}

.promo-input-group input:focus {
    outline: none;
    border-color: #3e6a8c;
}

.promo-input-group button {
    background: #1f3b4f;
    border: 1px solid #3e6280;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.2s;
}

.promo-input-group button:hover {
    background: #2b506b;
}

.payment-summary {
    background: #0e1219;
    padding: 1rem;
    border-radius: 1rem;
    margin: 1.5rem 0;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: #9aa4bf;
}

.payment-row.small {
    font-size: 0.9rem;
    color: #6c8cbf;
    border-top: 1px solid #2f3a47;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
}

.payment-total {
    font-size: 1.3rem;
    font-weight: 700;
    color: #a5c9ff;
}

.btn-pay {
    width: 100%;
    background: linear-gradient(135deg, #1f3b4f, #152a38);
    border: 1px solid #3e6280;
    color: white;
    padding: 1rem;
    border-radius: 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-pay:hover {
    background: linear-gradient(135deg, #2b506b, #1f4057);
}


@media (max-width: 768px) {
    .refill-detail-container {
        grid-template-columns: 1fr;
    }
}

.about-content {
    background: #1a1f27;
    border-radius: 1.8rem;
    padding: 2.5rem;
    border: 1px solid #2f3a47;
    margin-bottom: 2rem;
}

.about-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #d0ddff;
    position: relative;
    padding-bottom: 0.5rem;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3e6a8c, #6c8cbf);
    border-radius: 2rem;
}

.about-section {
    margin-bottom: 2.5rem;
}

.about-section p {
    color: #9aa4bf;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.advantage-card {
    background: #0e1219;
    padding: 1.8rem 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid #2f3a47;
    transition: all 0.3s ease;
    text-align: center;
}

.advantage-card:hover {
    transform: translateY(-4px);
    border-color: #3e6a8c;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.advantage-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #d3def5;
}

.advantage-card p {
    color: #8695b0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: #0e1219;
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid #2f3a47;
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #a5c9ff;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #9aa4bf;
    font-size: 1rem;
}


.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-info {
    background: #1a1f27;
    border-radius: 1.8rem;
    padding: 2.5rem;
    border: 1px solid #2f3a47;
}

.contact-form {
    background: #1a1f27;
    border-radius: 1.8rem;
    padding: 2.5rem;
    border: 1px solid #2f3a47;
}

.contact-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #d0ddff;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #2f3a47;
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    font-size: 2rem;
    min-width: 50px;
    height: 50px;
    background: #0e1219;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2f3a47;
}

.contact-detail h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #d3def5;
}

.contact-detail p {
    color: #9aa4bf;
    margin-bottom: 0.3rem;
}

.contact-detail p:last-child {
    margin-bottom: 0;
}


@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-title {
        font-size: 1.5rem;
    }
    
    .advantage-card {
        padding: 1.2rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #a0c0ff, #6c8cbf);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(14, 15, 18, 0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    padding: 5rem 2rem;
    overflow-y: auto;
    flex-direction: column;
    gap: 2rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.mobile-nav .nav-link {
    font-size: 1.5rem;
    color: #b0c9e0;
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-nav .nav-link:hover {
    color: white;
}

.mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
}

.mobile-auth .btn-login,
.mobile-auth .btn-register,
.mobile-auth .btn-logout {
    width: 200px;
    text-align: center;
    padding: 0.8rem 1.5rem;
}

.mobile-user {
    text-align: center;
    margin-bottom: 1rem;
}

.mobile-user .user-name {
    font-size: 1.3rem;
    color: #8ab3d6;
}


@media (max-width: 1024px) {
    .container {
        max-width: 960px;
        padding: 1.5rem;
    }

    .hero h1,
    .hero h2 {
        width: 100%;
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .Prew {
        padding: 60px;
    }

    .Zad {
        height: 650px;
    }

    .feature-card {
        width: 300px;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .product-image {
        height: 140px;
    }

    .product-info h4 {
        font-size: 0.95rem;
    }

    .refill-detail-container {
        gap: 1.5rem;
    }
}


@media (max-width: 768px) {
    .container {
        padding: 1.2rem;
    }

  
    .mobile-menu-btn {
        display: flex;
    }

    
    .nav-menu,
    .auth-buttons {
        display: none !important;
    }

   
    .header-container {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    
    .hero h1,
    .hero h2 {
        font-size: 1.8rem;
        width: 100%;
    }

    .hero p {
        font-size: 1rem;
    }

    .Prew {
        padding: 40px;
    }

    .Zad {
        height: auto;
        min-height: 550px;
        margin-top: -20px;
    }

  
    .features-grid {
        flex-direction: column;
        align-items: center;
    }

    .feature-card {
        width: 100%;
        max-width: 400px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .product-image {
        height: 130px;
    }

    .product-info {
        padding: 1rem;
    }

    .product-info h4 {
        font-size: 0.9rem;
    }

    .product-price {
        font-size: 1.2rem;
    }

    .btn-buy {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

  
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .view-all {
        margin-top: 0;
    }

   
    .breadcrumbs {
        font-size: 0.9rem;
    }

    
    .genre-filter {
        padding: 0.8rem;
        gap: 0.5rem;
    }

    .genre-btn {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }

    
    .product-detail {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .main-image {
        height: 250px;
    }

    .thumbnail {
        width: 60px;
        height: 45px;
    }

    .current-price {
        font-size: 1.6rem;
    }

  
    .refill-detail-container,
    .refill-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .refill-title,
    .contact-title {
        font-size: 1.6rem;
    }

   
    .about-title {
        font-size: 1.5rem;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .advantage-card {
        padding: 1.2rem;
    }

    .advantage-icon {
        font-size: 2rem;
    }

    .advantage-card h4 {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }

  
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

  
    .footer {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-links {
        justify-content: center;
        gap: 1.5rem;
    }

   
    .support-section {
        padding: 2rem 1.5rem;
    }

    .support-section h3 {
        font-size: 1.6rem;
    }

    .support-section p {
        font-size: 1rem;
    }

    .btn-support {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}


@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }

    .hero h1,
    .hero h2 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .Prew {
        padding: 30px;
    }

    .Zad {
        min-height: 500px;
    }

   
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        max-width: 100%;
    }

    .product-image {
        height: 160px;
    }

    
    .product-title {
        font-size: 1.3rem;
    }

    .main-image {
        height: 200px;
    }

    .thumbnail {
        width: 50px;
        height: 40px;
    }

    .payment-icons {
        gap: 0.5rem;
    }

    .payment-icon {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }

    .price-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .current-price {
        font-size: 1.4rem;
    }

    .btn-pay {
        font-size: 1rem;
        padding: 0.8rem;
    }

   
    .auth-container {
        padding: 1.5rem;
    }

    .auth-title {
        font-size: 1.5rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .amount-presets {
        justify-content: center;
    }

    .amount-preset {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

   
    .payment-badges {
        justify-content: center;
    }

    .payment-badge {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }

   
    .promo-input-group {
        flex-direction: column;
    }

    .promo-input-group button {
        width: 100%;
    }

  
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }

    .contact-detail h4 {
        text-align: center;
    }

    .support-section {
        padding: 1.5rem;
    }

    .support-section h3 {
        font-size: 1.4rem;
    }

    .btn-support {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }


    .footer-links {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .footer-links a {
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0.5rem;
    }

    /* Хедер */
    .logo {
        font-size: 1rem;
    }

    .mobile-menu-btn {
        width: 22px;
        height: 16px;
    }
    
    .mobile-menu-btn span {
        height: 2px;
    }

    
    .hero h1,
    .hero h2 {
        font-size: 1.2rem;
        width: 100%;
    }

    .hero p {
        font-size: 0.8rem;
    }

    .Prew {
        padding: 15px;
    }

    .Zad {
        min-height: 400px;
        margin-bottom: 20px;
    }

  
    .feature-card {
        width: 100%;
        padding: 1rem;
    }

    .feature-icon {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .feature-card h3 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.8rem;
    }

    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 0.8rem;
    }

    .product-card {
        width: 100%;
        margin: 0;
        border-radius: 1rem;
    }

    .product-image {
        height: 120px;
        padding: 0.5rem;
    }

    .product-badge {
        padding: 0.2rem 0.6rem;
        font-size: 0.7rem;
    }

    .product-info {
        padding: 0.7rem;
    }

    .product-info h4 {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .product-price {
        font-size: 1rem;
        margin: 0.2rem 0 0.4rem;
    }

    .btn-buy {
        padding: 0.4rem;
        font-size: 0.75rem;
        border-radius: 1.5rem;
    }

  
    .section-header {
        margin: 0.8rem 0;
    }

    .section-header h2 {
        font-size: 1.1rem;
    }

    .ak, .pp {
        margin-top: -10px;
        margin-bottom: 15px;
    }

    .ak p, .pp p {
        font-size: 0.75rem;
    }

    .view-all {
        font-size: 0.8rem;
        margin-top: 0;
    }

   
    .breadcrumbs {
        font-size: 0.7rem;
        margin-bottom: 0.8rem;
        gap: 0.3rem;
    }

    
    .genre-filter {
        padding: 0.4rem;
        gap: 0.3rem;
        border-radius: 2rem;
    }

    .genre-btn {
        padding: 0.2rem 0.5rem;
        font-size: 0.65rem;
        border-radius: 1rem;
    }

    .product-detail {
        padding: 0.8rem;
        gap: 0.8rem;
        border-radius: 1.2rem;
    }

    .product-title {
        font-size: 1rem;
    }

    .product-description {
        font-size: 0.75rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }

    .product-edition {
        padding: 0.6rem;
        font-size: 0.75rem;
        margin-bottom: 0.8rem;
    }

    .main-image {
        height: 150px;
    }

    .thumbnail-slider {
        gap: 0.3rem;
    }

    .thumbnail {
        width: 40px;
        height: 30px;
    }

    /* Платежные методы */
    .payment-methods {
        margin: 0.8rem 0;
    }

    .payment-icons {
        gap: 0.3rem;
    }

    .payment-icon {
        padding: 0.2rem 0.5rem;
        font-size: 0.65rem;
        border-radius: 1rem;
    }

    /* Промокод */
    .promo-section {
        margin: 0.8rem 0;
    }

    .promo-input {
        flex-direction: column;
        gap: 0.3rem;
    }

    .promo-input input {
        padding: 0.5rem;
        font-size: 0.7rem;
    }

    .promo-input button {
        padding: 0.5rem;
        font-size: 0.7rem;
    }

    /* Цена */
    .price-section {
        margin: 0.8rem 0;
        padding: 0.5rem 0;
    }

    .current-price {
        font-size: 1.1rem;
    }

    .btn-pay {
        font-size: 0.9rem;
        padding: 0.6rem;
        border-radius: 2rem;
    }

    .refill-detail-container {
        padding: 0;
        gap: 1rem;
    }

    .refill-info,
    .refill-form {
        padding: 1rem;
        border-radius: 1.2rem;
    }

    .refill-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .refill-description {
        font-size: 0.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .platform-icon {
        padding: 0.5rem 0.8rem;
        margin-bottom: 0.8rem;
    }

    .platform-icon span {
        font-size: 0.8rem;
    }

    .form-group {
        margin-bottom: 0.8rem;
    }

    .form-group label {
        font-size: 0.75rem;
        margin-bottom: 0.2rem;
    }

    .form-input {
        padding: 0.5rem;
        font-size: 0.75rem;
        border-radius: 0.8rem;
    }

    .amount-presets {
        gap: 0.3rem;
        margin-bottom: 0.8rem;
    }

    .amount-preset {
        padding: 0.2rem 0.4rem;
        font-size: 0.65rem;
        border-radius: 1rem;
    }

    .payment-badges {
        gap: 0.3rem;
    }

    .payment-badge {
        padding: 0.2rem 0.5rem;
        font-size: 0.65rem;
    }

    .promo-input-group {
        flex-direction: column;
        gap: 0.3rem;
    }

    .promo-input-group input {
        padding: 0.5rem;
        font-size: 0.7rem;
    }

    .promo-input-group button {
        padding: 0.5rem;
        font-size: 0.7rem;
    }

    .payment-summary {
        padding: 0.5rem;
        margin: 0.8rem 0;
    }

    .payment-row {
        padding: 0.3rem 0;
        font-size: 0.75rem;
    }

    .payment-total {
        font-size: 1rem;
    }

    .warning-message {
        font-size: 0.7rem;
        padding: 0.5rem;
        border-left-width: 3px;
    }

    /* Страница "О нас" */
    .about-content {
        padding: 1rem;
        border-radius: 1.2rem;
    }

    .about-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .about-title::after {
        width: 40px;
        height: 2px;
    }

    .about-section p {
        font-size: 0.75rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }

    .advantages-grid {
        gap: 0.5rem;
        margin: 1rem 0;
    }

    .advantage-card {
        padding: 0.8rem;
        border-radius: 1rem;
    }

    .advantage-icon {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }

    .advantage-card h4 {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }

    .advantage-card p {
        font-size: 0.65rem;
    }

    .stats-grid {
        gap: 0.5rem;
        margin: 1rem 0;
    }

    .stat-card {
        padding: 0.8rem;
    }

    .stat-number {
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

   
    .contact-info,
    .contact-form {
        padding: 1rem;
        border-radius: 1.2rem;
    }

    .contact-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .contact-item {
        gap: 0.8rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }

    .contact-icon {
        min-width: 35px;
        height: 35px;
        font-size: 1.2rem;
        border-radius: 0.5rem;
    }

    .contact-detail h4 {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }

    .contact-detail p {
        font-size: 0.7rem;
        margin-bottom: 0.2rem;
    }

    
    .footer {
        margin-top: 1.5rem;
        padding-top: 0.8rem;
    }

    .footer span {
        font-size: 0.8rem;
    }

    .footer-links {
        gap: 0.5rem;
    }

    .footer-links a {
        font-size: 0.7rem;
    }

   
    .support-section {
        padding: 1rem;
        border-radius: 1.2rem;
        margin: 1rem 0;
    }

    .support-section h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .support-section p {
        font-size: 0.7rem;
        margin-bottom: 0.8rem;
    }

    .btn-support {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        border-radius: 2rem;
    }

    /* Мобильное меню */
    .mobile-menu {
        padding: 60px 15px 20px;
    }

    .mobile-nav {
        gap: 10px;
    }

    .mobile-nav .nav-link {
        font-size: 1rem;
        padding: 8px;
    }

    .mobile-auth .btn-login,
    .mobile-auth .btn-register,
    .mobile-auth .btn-logout {
        width: 160px;
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .mobile-user .user-name {
        font-size: 1rem;
    }

.auth-container {
    max-width: 400px;
    margin: 2rem auto;
    background: #1e242c;
    padding: 2.5rem;
    border-radius: 2rem;
    border: 1px solid #2f4055;
    transition: all 0.3s ease;
}

.auth-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #8ab3d6;
    font-size: 2rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.auth-field label {
    color: #b0c9e0;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.auth-input {
    background: #0e1219;
    border: 1px solid #2d3a4a;
    padding: 1rem;
    border-radius: 1rem;
    color: white;
    font-size: 1rem;
    width: 100%;
    transition: all 0.2s;
}

.auth-input:focus {
    outline: none;
    border-color: #3e6a8c;
    box-shadow: 0 0 0 2px rgba(62, 106, 140, 0.2);
}

.auth-btn {
    background: #1f3b4f;
    color: white;
    border: 1px solid #3e6280;
    padding: 1rem;
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.2s;
    font-size: 1rem;
}

.auth-btn:hover {
    background: #2b506b;
    transform: translateY(-2px);
}

.error {
    color: #ff8a8a;
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: rgba(255, 100, 100, 0.1);
    border-radius: 0.5rem;
    border-left: 3px solid #ff6b6b;
}

.success {
    color: #8affb8;
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: rgba(100, 255, 150, 0.1);
    border-radius: 0.5rem;
    border-left: 3px solid #6bff8a;
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
    color: #9aa4bf;
}

.auth-link a {
    color: #8ab3d6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-link a:hover {
    color: #a5c9ff;
    text-decoration: underline;
}


@media (max-width: 768px) {
    .auth-container {
        max-width: 450px;
        padding: 2rem;
        margin: 1.5rem auto;
    }

    .auth-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .auth-field label {
        font-size: 0.85rem;
    }

    .auth-input {
        padding: 0.9rem;
        font-size: 0.95rem;
    }

    .auth-btn {
        padding: 0.9rem;
        font-size: 0.95rem;
    }
}


@media (max-width: 480px) {
    .auth-container {
        max-width: 100%;
        padding: 1.5rem;
        margin: 1rem 0;
        border-radius: 1.5rem;
    }

    .auth-title {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
    }

    .auth-form {
        gap: 1rem;
    }

    .auth-field label {
        font-size: 0.8rem;
    }

    .auth-input {
        padding: 0.8rem;
        font-size: 0.9rem;
        border-radius: 0.8rem;
    }

    .auth-btn {
        padding: 0.8rem;
        font-size: 0.9rem;
        border-radius: 1.5rem;
        margin-top: 0.5rem;
    }

    .error, .success {
        padding: 0.6rem;
        font-size: 0.85rem;
    }

    .auth-link {
        margin-top: 1rem;
        font-size: 0.85rem;
    }
}


@media (max-width: 360px) {
    .auth-container {
        padding: 1.2rem;
        margin: 0.8rem 0;
        border-radius: 1.2rem;
    }

    .auth-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .auth-field label {
        font-size: 0.75rem;
    }

    .auth-input {
        padding: 0.7rem;
        font-size: 0.8rem;
        border-radius: 0.7rem;
    }

    .auth-btn {
        padding: 0.7rem;
        font-size: 0.8rem;
        border-radius: 1.2rem;
    }

    .error, .success {
        padding: 0.5rem;
        font-size: 0.75rem;
        margin-bottom: 0.8rem;
    }

    .auth-link {
        margin-top: 0.8rem;
        font-size: 0.75rem;
    }
}


@media (max-width: 320px) {
    .auth-container {
        padding: 1rem;
    }

    .auth-title {
        font-size: 1.2rem;
    }

    .auth-input {
        padding: 0.6rem;
        font-size: 0.75rem;
    }

    .auth-btn {
        padding: 0.6rem;
        font-size: 0.75rem;
    }

    .auth-link {
        font-size: 0.7rem;
    }
}
}
