/* Persian Font Definitions for Plugin */
@font-face {
    font-family: 'IRANSansX';
    src: url('../../../themes/white-theme/fonts/woff2/IRANSansX-Regular.woff2') format('woff2'),
         url('../../../themes/white-theme/fonts/woff/IRANSansX-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('../../../themes/white-theme/fonts/woff2/IRANSansX-Light.woff2') format('woff2'),
         url('../../../themes/white-theme/fonts/woff/IRANSansX-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('../../../themes/white-theme/fonts/woff2/IRANSansX-Medium.woff2') format('woff2'),
         url('../../../themes/white-theme/fonts/woff/IRANSansX-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('../../../themes/white-theme/fonts/woff2/IRANSansX-Bold.woff2') format('woff2'),
         url('../../../themes/white-theme/fonts/woff/IRANSansX-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('../../../themes/white-theme/fonts/woff2/IRANSansX-Black.woff2') format('woff2'),
         url('../../../themes/white-theme/fonts/woff/IRANSansX-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Plugin Font Settings */
.album-preorder-section {
    font-family: 'IRANSansX', 'Press Start 2P', monospace;
    direction: rtl;
    text-align: right;
    font-weight: 400;
}

/* English Text in Plugin */
.album-preorder-section .en,
.album-preorder-section .english {
    font-family: 'Press Start 2P', monospace;
    direction: ltr;
    text-align: left;
}

/* RTL Support for Plugin */
.album-preorder-section .rtl {
    direction: rtl;
    text-align: right;
}

.album-preorder-section .ltr {
    direction: ltr;
    text-align: left;
}

/* Form Labels RTL */
.form-label {
    font-family: 'IRANSansX', monospace;
    font-weight: 500;
    direction: rtl;
    text-align: right;
}

/* Input Fields RTL */
.form-input {
    font-family: 'IRANSansX', monospace;
    direction: rtl;
    text-align: right;
}

/* Button Text RTL */
.submit-btn {
    font-family: 'IRANSansX', monospace;
    font-weight: 700;
    direction: rtl;
    text-align: center;
}

/* Leaderboard Text RTL */
.leaderboard-title,
.leaderboard-name,
.leaderboard-details {
    font-family: 'IRANSansX', monospace;
    direction: rtl;
    text-align: right;
}

/* Package Info RTL */
.package-info h3,
.package-info p,
.package-features li {
    font-family: 'IRANSansX', monospace;
    direction: rtl;
    text-align: right;
}

/* Package Info Styles */
.package-info {
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
}

.package-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #00a8ff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(0, 168, 255, 0.3);
}

.package-info p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.8;
    opacity: 0.9;
    color: #ccc;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-features li {
    padding: 12px 0;
    font-size: 1rem;
    color: #fff;
    position: relative;
    padding-left: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 12px;
    color: #00a8ff;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.5);
}

/* Album Preorder Section Styles */
.album-preorder-section {
    position: relative;
    padding: 120px 20px 80px 20px;
    font-family: 'IRANSansX', 'Press Start 2P', monospace;
    color: #fff;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 100px;
}

/* English Text Font */
.album-preorder-section .en, 
.album-preorder-section .english {
    font-family: 'Press Start 2P', monospace !important;
    direction: ltr !important;
    text-align: left !important;
}

/* RTL/LTR Direction Classes */
.album-preorder-section .rtl {
    direction: rtl !important;
    text-align: right !important;
}

.album-preorder-section .ltr {
    direction: ltr !important;
    text-align: left !important;
}

/* Font Awesome Icons */
.album-preorder-section .fab, 
.album-preorder-section .fas, 
.album-preorder-section .far, 
.album-preorder-section .fa {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands', monospace !important;
}

/* Tab Icons */
.album-preorder-section .tab-icon {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands', monospace !important;
}

.album-preorder-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Section Header */
.album-preorder-header {
    text-align: center !important;
    margin-bottom: 60px;
    color: #fff;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.album-preorder-title {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, #00a8ff, #0097e6, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(0, 168, 255, 0.5);
    animation: titleGlow 3s ease-in-out infinite alternate;
    letter-spacing: 2px;
    text-align: center !important;
    width: 100% !important;
}

@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 20px rgba(0, 168, 255, 0.3)); }
    100% { filter: drop-shadow(0 0 40px rgba(0, 168, 255, 0.6)); }
}

.album-preorder-description {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.9;
    letter-spacing: 1px;
    text-align: center !important;
    width: 100% !important;
}

/* Package Tabs */
.package-tabs {
    margin-bottom: 60px;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 15px 20px;
    color: #fff;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 100px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

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

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 168, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

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

.tab-btn:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 168, 255, 0.25),
        0 0 0 1px rgba(0, 168, 255, 0.2);
    border-color: rgba(0, 168, 255, 0.4);
    background: rgba(0, 168, 255, 0.08);
}

.tab-btn.active {
    background: linear-gradient(145deg, rgba(0, 168, 255, 0.15), rgba(0, 168, 255, 0.05));
    border-color: rgba(0, 168, 255, 0.6);
    box-shadow: 
        0 15px 35px rgba(0, 168, 255, 0.3),
        0 0 0 2px rgba(0, 168, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-5px) scale(1.05);
}

/* Tab Icons */
.tab-icon {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands', 'Font Awesome 6 Solid', monospace;
    font-size: 1.5rem;
    display: block;
}

.tab-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

.tab-price {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.tab-content {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 25px;
    padding: 40px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInFromLeft {
    from { 
        opacity: 0; 
        transform: translateX(-30px) scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0) scale(1); 
    }
}

.leaderboard-item {
    animation: slideInFromLeft 0.6s ease forwards;
}

.leaderboard-item:nth-child(1) { animation-delay: 0.1s; }
.leaderboard-item:nth-child(2) { animation-delay: 0.2s; }
.leaderboard-item:nth-child(3) { animation-delay: 0.3s; }
.leaderboard-item:nth-child(4) { animation-delay: 0.4s; }
.leaderboard-item:nth-child(5) { animation-delay: 0.5s; }
.leaderboard-item:nth-child(6) { animation-delay: 0.6s; }
.leaderboard-item:nth-child(7) { animation-delay: 0.7s; }
.leaderboard-item:nth-child(8) { animation-delay: 0.8s; }
.leaderboard-item:nth-child(9) { animation-delay: 0.9s; }
.leaderboard-item:nth-child(10) { animation-delay: 1.0s; }

.package-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    text-align: center;
    background: linear-gradient(45deg, #00a8ff, #0097e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.package-info p {
    color: #ccc;
    text-align: center;
    margin-bottom: 35px;
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-features li {
    color: #ccc;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    font-size: 1rem;
}

.package-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00a8ff;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Main Content Grid */
.main-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
    margin-top: 40px;
}

/* Package Details Section */
.package-details-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

/* Leaderboard Adjustments */
.leaderboard-section {
    margin-top: 0;
    height: fit-content;
    position: sticky;
    top: 20px;
}

/* Responsive Design for Grid */
@media (max-width: 1024px) {
    .main-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .leaderboard-section {
        position: static;
        order: 2;
    }
    
    .preorder-form {
        order: 1;
    }
}

@media (max-width: 768px) {
    .album-preorder-section {
        padding: 80px 15px 60px 15px;
        margin-top: 60px;
    }
    
    .album-preorder-header {
        padding: 30px 15px;
        margin-bottom: 40px;
    }
    
    .album-preorder-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .album-preorder-description {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .tab-buttons {
        gap: 10px;
        margin-bottom: 25px;
    }
    
    .tab-btn {
        min-width: 90px;
        padding: 12px 15px;
        gap: 6px;
    }
    
    .tab-icon {
        font-size: 1.2rem;
    }
    
    .tab-title {
        font-size: 0.7rem;
    }
    
    .tab-price {
        font-size: 0.6rem;
    }
    
    .package-details-section {
        margin-top: 40px;
        padding-top: 30px;
    }
    
    .preorder-form {
        padding: 25px 20px;
    }
    
    .form-input {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .submit-btn {
        padding: 18px 30px;
        font-size: 1.1rem;
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .leaderboard-section {
        padding: 25px;
    }
    
    .leaderboard-item {
        padding: 15px 20px;
        gap: 15px;
    }
    
    .leaderboard-rank {
        min-width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .leaderboard-name {
        font-size: 1rem;
    }
    
    .leaderboard-details {
        font-size: 0.8rem;
    }
    
    .leaderboard-amount {
        font-size: 1rem;
    }
    
    .form-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .package-info {
        padding: 20px;
    }
    
    .package-info h3 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .package-info p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .package-features li {
        padding: 10px 0;
        font-size: 0.9rem;
        padding-left: 25px;
    }
}

@media (max-width: 480px) {
    .album-preorder-title {
        font-size: 1.5rem;
    }
    
    .package-icon {
        font-size: 2rem;
    }
    
    .package-title {
        font-size: 1.2rem;
    }
    
    .submit-btn {
        padding: 15px 20px;
        font-size: 1rem;
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
} 

/* --- Scroll Animation --- */
.scroll-animate {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}

.scroll-animate--visible {
  opacity: 1;
  transform: none;
}

/* Different animation delays for staggered effect */
.album-preorder-section.scroll-animate--visible {
  animation: fadeInUp 0.8s ease-out;
}

.album-preorder-header.scroll-animate--visible {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.leaderboard-section.scroll-animate--visible {
  animation: slideInFromLeft 0.8s ease-out 0.4s both;
}

.preorder-form.scroll-animate--visible {
  animation: slideInFromRight 0.8s ease-out 0.4s both;
}

.package-details-section.scroll-animate--visible {
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --- Minimal Card Style --- */
.album-preorder-section,
.preorder-form,
.leaderboard-section {
  background: rgba(255,255,255,0.03);
  border-radius: 22px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
  border: none;
  padding: 32px 18px;
  margin-bottom: 32px;
}

/* --- Minimal Form --- */
.preorder-form {
  box-shadow: 0 2px 16px rgba(0,168,255,0.07);
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
}
.form-input {
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 12px;
  transition: box-shadow 0.3s;
}
.form-input:focus {
  box-shadow: 0 0 0 2px #00a8ff;
  background: rgba(0,168,255,0.08);
}
.submit-btn {
  background: linear-gradient(90deg, #00a8ff 0%, #0097e6 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 16px 0;
  width: 100%;
  font-size: 1.1rem;
  font-family: inherit;
  font-weight: 700;
  box-shadow: 0 2px 16px rgba(0,168,255,0.13);
  transition: box-shadow 0.3s, transform 0.2s;
}
.submit-btn:hover {
  box-shadow: 0 4px 32px rgba(0,168,255,0.25);
  transform: translateY(-2px) scale(1.03);
}

/* --- Minimal Leaderboard --- */
.leaderboard-section {
  background: rgba(255,255,255,0.02);
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,168,255,0.07);
  padding: 24px 12px;
}
.leaderboard-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.leaderboard-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 12px 16px;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 1px 8px rgba(0,168,255,0.04);
  transition: background 0.3s, box-shadow 0.3s;
}
.leaderboard-item:hover {
  background: rgba(0,168,255,0.08);
  box-shadow: 0 2px 16px rgba(0,168,255,0.13);
}
.leaderboard-rank {
  font-size: 1.1rem;
  font-weight: 700;
  color: #00a8ff;
  margin-right: 10px;
}
.leaderboard-amount {
  font-weight: 700;
  color: #00d4ff;
  font-size: 1.1rem;
} 

/* Form Title */
.form-title {
    font-family: 'IRANSansX', monospace !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-align: center !important;
    margin-bottom: 30px !important;
    background: linear-gradient(45deg, #00a8ff, #0097e6, #00d4ff) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    letter-spacing: 1px !important;
    text-shadow: 0 0 20px rgba(0, 168, 255, 0.3) !important;
    position: relative !important;
    display: block !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
}

.form-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: -10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 60px !important;
    height: 3px !important;
    background: linear-gradient(45deg, #00a8ff, #00d4ff) !important;
    border-radius: 2px !important;
}

/* Form Labels */
.form-label {
    font-family: 'IRANSansX', monospace;
    font-weight: 500;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 8px;
    display: block;
    opacity: 0.9;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

/* Form Rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
} 

/* Form Styles */
.preorder-form {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 25px;
    padding: 40px;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input {
    width: 100%;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    font-family: 'Press Start 2P', monospace;
}

.form-input:focus {
    outline: none;
    border-color: rgba(0, 168, 255, 0.6);
    box-shadow: 
        0 0 25px rgba(0, 168, 255, 0.4),
        0 0 0 1px rgba(0, 168, 255, 0.2);
    background: rgba(0, 168, 255, 0.05);
    transform: translateY(-2px);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.submit-btn {
    width: 100%;
    padding: 20px 35px;
    background: linear-gradient(45deg, #00a8ff, #0097e6, #00d4ff);
    border: none;
    border-radius: 20px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    font-family: 'Press Start 2P', monospace;
    box-shadow: 0 10px 30px rgba(0, 168, 255, 0.3);
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

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

.submit-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 168, 255, 0.5),
        0 0 0 2px rgba(0, 168, 255, 0.3);
    background: linear-gradient(45deg, #0097e6, #00a8ff, #00d4ff);
}

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

/* Leaderboard */
.leaderboard-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 25px;
    padding: 35px;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.leaderboard-title {
    text-align: center;
    color: #fff;
    font-size: 2rem;
    margin-bottom: 35px;
    font-weight: 700;
    background: linear-gradient(45deg, #00a8ff, #0097e6, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-shadow: 0 0 25px rgba(0, 168, 255, 0.4);
    position: relative;
}

.leaderboard-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #00a8ff, #00d4ff);
    border-radius: 2px;
}

.leaderboard-list {
    list-style: none;
    padding: 0;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    gap: 20px;
}

.leaderboard-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 168, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.leaderboard-item:hover::before {
    left: 100%;
}

.leaderboard-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(10px) scale(1.03);
    border-color: rgba(0, 168, 255, 0.4);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(0, 168, 255, 0.2);
}

.leaderboard-item.rank-1 {
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.15), rgba(255, 237, 78, 0.05));
    border-color: rgba(255, 215, 0, 0.4);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.2);
}

.leaderboard-item.rank-1 .leaderboard-rank {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.leaderboard-item.rank-1 .leaderboard-rank::before {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    opacity: 1;
}

.leaderboard-item.rank-2 {
    background: linear-gradient(45deg, rgba(192, 192, 192, 0.15), rgba(229, 229, 229, 0.05));
    border-color: rgba(192, 192, 192, 0.4);
    color: #fff;
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.2);
}

.leaderboard-item.rank-2 .leaderboard-rank {
    background: linear-gradient(45deg, #c0c0c0, #e5e5e5);
    color: #000;
    border-color: rgba(192, 192, 192, 0.8);
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.5);
}

.leaderboard-item.rank-2 .leaderboard-rank::before {
    background: linear-gradient(45deg, #c0c0c0, #e5e5e5);
    opacity: 1;
}

.leaderboard-item.rank-3 {
    background: linear-gradient(45deg, rgba(205, 127, 50, 0.15), rgba(218, 165, 32, 0.05));
    border-color: rgba(205, 127, 50, 0.4);
    color: #fff;
    box-shadow: 0 0 20px rgba(205, 127, 50, 0.2);
}

.leaderboard-item.rank-3 .leaderboard-rank {
    background: linear-gradient(45deg, #cd7f32, #daa520);
    color: #000;
    border-color: rgba(205, 127, 50, 0.8);
    box-shadow: 0 0 15px rgba(205, 127, 50, 0.5);
}

.leaderboard-item.rank-3 .leaderboard-rank::before {
    background: linear-gradient(45deg, #cd7f32, #daa520);
    opacity: 1;
}

.leaderboard-rank {
    font-weight: 700;
    font-size: 1.4rem;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.leaderboard-rank::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00a8ff, #00d4ff);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.leaderboard-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.leaderboard-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: 0.5px;
}

.leaderboard-details {
    font-size: 0.9rem;
    opacity: 0.8;
    color: #ccc;
    font-weight: 400;
}

.leaderboard-amount {
    font-weight: 700;
    font-size: 1.2rem;
    background: linear-gradient(45deg, #00a8ff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.3);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #00a8ff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success/Error Messages */
.message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 600;
}

.message.success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #00ff00;
}

.message.error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff0000;
} 

/* Responsive Design - Advanced */

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .album-preorder-section {
        max-width: 1600px;
        padding: 140px 40px 100px 40px;
    }
    
    .album-preorder-container {
        max-width: 1400px;
    }
    
    .album-preorder-title {
        font-size: 3rem;
    }
    
    .album-preorder-description {
        font-size: 1.3rem;
        max-width: 800px;
    }
    
    .main-content-grid {
        gap: 60px;
    }
    
    .leaderboard-section,
    .preorder-form {
        padding: 50px;
    }
    
    .tab-btn {
        padding: 20px 30px;
        min-width: 150px;
    }
    
    .form-input {
        padding: 22px 30px;
        font-size: 1.2rem;
    }
    
    .submit-btn {
        padding: 25px 50px;
        font-size: 1.3rem;
    }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
    .album-preorder-section {
        padding: 120px 30px 80px 30px;
    }
    
    .main-content-grid {
        gap: 50px;
    }
    
    .leaderboard-section,
    .preorder-form {
        padding: 40px;
    }
}

/* Tablet Landscape (1024px - 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
    .album-preorder-section {
        padding: 100px 25px 70px 25px;
    }
    
    .album-preorder-title {
        font-size: 2.3rem;
    }
    
    .main-content-grid {
        gap: 40px;
    }
    
    .leaderboard-section,
    .preorder-form {
        padding: 35px;
    }
    
    .tab-btn {
        padding: 16px 25px;
        min-width: 120px;
    }
}

/* Tablet Portrait (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .album-preorder-section {
        padding: 80px 20px 60px 20px;
        margin-top: 80px;
    }
    
    .album-preorder-header {
        padding: 35px 20px;
        margin-bottom: 50px;
    }
    
    .album-preorder-title {
        font-size: 2.2rem;
    }
    
    .album-preorder-description {
        font-size: 1.05rem;
        max-width: 600px;
    }
    
    .main-content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .leaderboard-section {
        position: relative;
        top: auto;
        padding: 30px;
    }
    
    .preorder-form {
        padding: 35px;
    }
    
    .tab-buttons {
        gap: 12px;
        margin-bottom: 30px;
    }
    
    .tab-btn {
        padding: 14px 20px;
        min-width: 100px;
        gap: 8px;
    }
    
    .tab-icon {
        font-size: 1.3rem;
    }
    
    .tab-title {
        font-size: 0.8rem;
    }
    
    .tab-price {
        font-size: 0.7rem;
    }
    
    .form-input {
        padding: 18px 25px;
        font-size: 1.05rem;
    }
    
    .submit-btn {
        padding: 20px 40px;
        font-size: 1.15rem;
    }
    
    .leaderboard-item {
        padding: 18px 22px;
        gap: 18px;
    }
    
    .leaderboard-rank {
        min-width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .leaderboard-name {
        font-size: 1.05rem;
    }
    
    .leaderboard-amount {
        font-size: 1.1rem;
    }
    
    .package-info {
        padding: 25px;
    }
    
    .package-info h3 {
        font-size: 1.7rem;
    }
    
    .package-info p {
        font-size: 1.05rem;
    }
    
    .package-features li {
        padding: 11px 0;
        font-size: 0.95rem;
        padding-left: 28px;
    }
}

/* Mobile Large (480px - 767px) */
@media (max-width: 767px) and (min-width: 481px) {
    .album-preorder-section {
        padding: 70px 15px 50px 15px;
        margin-top: 60px;
    }
    
    .album-preorder-header {
        padding: 25px 15px;
        margin-bottom: 35px;
    }
    
    .album-preorder-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .album-preorder-description {
        font-size: 0.95rem;
        max-width: 100%;
    }
    
    .main-content-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .leaderboard-section {
        order: 2;
        padding: 25px;
    }
    
    .preorder-form {
        order: 1;
        padding: 30px 25px;
    }
    
    .tab-buttons {
        gap: 8px;
        margin-bottom: 25px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tab-btn {
        min-width: 85px;
        padding: 12px 15px;
        gap: 6px;
    }
    
    .tab-icon {
        font-size: 1.1rem;
    }
    
    .tab-title {
        font-size: 0.7rem;
    }
    
    .tab-price {
        font-size: 0.6rem;
    }
    
    .package-details-section {
        margin-top: 35px;
        padding-top: 25px;
    }
    
    .form-input {
        padding: 16px 20px;
        font-size: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .submit-btn {
        padding: 18px 35px;
        font-size: 1.1rem;
    }
    
    .leaderboard-item {
        padding: 15px 18px;
        gap: 15px;
    }
    
    .leaderboard-rank {
        min-width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .leaderboard-name {
        font-size: 1rem;
    }
    
    .leaderboard-details {
        font-size: 0.8rem;
    }
    
    .leaderboard-amount {
        font-size: 1rem;
    }
    
    .form-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .package-info {
        padding: 20px;
    }
    
    .package-info h3 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
    .package-info p {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }
    
    .package-features li {
        padding: 9px 0;
        font-size: 0.85rem;
        padding-left: 25px;
    }
}

/* Mobile Small (320px - 480px) */
@media (max-width: 480px) {
    .album-preorder-section {
        padding: 60px 10px 40px 10px;
        margin-top: 50px;
    }
    
    .album-preorder-header {
        padding: 20px 10px;
        margin-bottom: 30px;
    }
    
    .album-preorder-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
        letter-spacing: 1px;
    }
    
    .album-preorder-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .main-content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .leaderboard-section {
        order: 2;
        padding: 20px;
    }
    
    .preorder-form {
        order: 1;
        padding: 25px 20px;
    }
    
    .tab-buttons {
        gap: 6px;
        margin-bottom: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tab-btn {
        min-width: 75px;
        padding: 10px 12px;
        gap: 4px;
        border-radius: 12px;
    }
    
    .tab-icon {
        font-size: 1rem;
    }
    
    .tab-title {
        font-size: 0.6rem;
    }
    
    .tab-price {
        font-size: 0.5rem;
    }
    
    .package-details-section {
        margin-top: 30px;
        padding-top: 20px;
    }
    
    .form-input {
        padding: 14px 18px;
        font-size: 0.95rem;
        border-radius: 12px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .submit-btn {
        padding: 16px 30px;
        font-size: 1rem;
        border-radius: 15px;
    }
    
    .leaderboard-item {
        padding: 12px 15px;
        gap: 12px;
        border-radius: 15px;
    }
    
    .leaderboard-rank {
        min-width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .leaderboard-name {
        font-size: 0.9rem;
    }
    
    .leaderboard-details {
        font-size: 0.75rem;
    }
    
    .leaderboard-amount {
        font-size: 0.9rem;
    }
    
    .form-title {
        font-size: 1.3rem;
        margin-bottom: 18px;
    }
    
    .package-info {
        padding: 18px;
    }
    
    .package-info h3 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .package-info p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .package-features li {
        padding: 6px 0;
        font-size: 0.75rem;
        padding-left: 20px;
    }
}

/* Extra Small Mobile (320px and below) */
@media (max-width: 320px) {
    .album-preorder-section {
        padding: 50px 8px 35px 8px;
        margin-top: 40px;
    }
    
    .album-preorder-header {
        padding: 18px 8px;
        margin-bottom: 25px;
    }
    
    .album-preorder-title {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .album-preorder-description {
        font-size: 0.85rem;
    }
    
    .tab-btn {
        min-width: 65px;
        padding: 8px 10px;
        gap: 3px;
    }
    
    .tab-icon {
        font-size: 0.9rem;
    }
    
    .tab-title {
        font-size: 0.55rem;
    }
    
    .tab-price {
        font-size: 0.45rem;
    }
    
    .form-input {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 14px 25px;
        font-size: 0.95rem;
    }
    
    .leaderboard-item {
        padding: 10px 12px;
        gap: 10px;
    }
    
    .leaderboard-rank {
        min-width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .leaderboard-name {
        font-size: 0.85rem;
    }
    
    .leaderboard-details {
        font-size: 0.7rem;
    }
    
    .leaderboard-amount {
        font-size: 0.85rem;
    }
    
    .form-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .package-info {
        padding: 15px;
    }
    
    .package-info h3 {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
    
    .package-info p {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .package-features li {
        padding: 6px 0;
        font-size: 0.75rem;
        padding-left: 20px;
    }
} 

/* Album Preorder Header */
.album-preorder-header {
    text-align: center !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 3rem;
}

.album-preorder-title {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.album-preorder-description {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.6;
    opacity: 0.9;
}

/* Form Title */
.form-title {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #00a8ff, #0097e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 15px rgba(0, 168, 255, 0.3);
    position: relative;
}

.form-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00a8ff, #0097e6);
    border-radius: 2px;
}

/* Leaderboard Title */
.leaderboard-title {
    text-align: center !important;
    width: 100% !important;
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.leaderboard-title i {
    color: #ffd700;
    font-size: 1.5rem;
} 

/* Force Center Alignment */
.album-preorder-header,
.album-preorder-title,
.album-preorder-description,
.form-title {
    text-align: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Additional Center Rules */
.album-preorder-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.album-preorder-title,
.album-preorder-description,
.form-title {
    display: block !important;
    text-align: center !important;
} 

/* Address Fields */
#physical-fields,
#address-fields {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

#physical-fields.show,
#address-fields.show {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
}

/* Textarea for Address */
#address {
    min-height: 80px;
    resize: vertical;
    font-family: 'IRANSansX', monospace;
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
}

/* Phone Field */
#phone {
    direction: ltr;
    text-align: left;
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 14px;
}

/* Address Field */
#address {
    direction: ltr;
    text-align: left;
    font-family: 'IRANSansX', monospace;
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 

/* Payment Method Selector */
.payment-method-selector {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    position: relative;
}

.payment-method-option {
    flex: 1;
    cursor: pointer;
    position: relative;
}

.payment-method-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

.payment-method-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'IRANSansX', monospace;
    font-weight: 600;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    min-height: 60px;
}

.payment-method-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 14px;
}

.payment-method-option input[type="radio"]:checked + .payment-method-label {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.4),
        0 0 0 1px rgba(102, 126, 234, 0.2);
    transform: translateY(-3px) scale(1.02);
}

.payment-method-option input[type="radio"]:checked + .payment-method-label::before {
    opacity: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
}

.payment-method-option:hover .payment-method-label {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(102, 126, 234, 0.3),
        0 0 0 1px rgba(102, 126, 234, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.payment-method-option:hover .payment-method-label::before {
    opacity: 0.5;
}

.payment-method-label i {
    font-size: 20px;
    width: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.payment-method-option input[type="radio"]:checked + .payment-method-label i {
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Payment Method Animation */
@keyframes paymentMethodPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes paymentMethodGlow {
    0% { box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4); }
    50% { box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6), 0 0 20px rgba(102, 126, 234, 0.3); }
    100% { box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4); }
}

.payment-method-option input[type="radio"]:checked + .payment-method-label {
    animation: paymentMethodPulse 0.6s ease-out, paymentMethodGlow 2s ease-in-out infinite;
}

/* Payment Method Loading State */
.payment-method-option.loading .payment-method-label {
    opacity: 0.7;
    pointer-events: none;
}

.payment-method-option.loading .payment-method-label i {
    animation: spin 1s linear infinite;
}

/* Payment Method Label Enhancement */
.payment-method-label span {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Payment Method Container Enhancement */
.form-group:has(.payment-method-selector) {
    margin-bottom: 25px;
}

.form-group:has(.payment-method-selector) .form-label {
    margin-bottom: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

/* Payment Method Focus States */
.payment-method-option:focus-within .payment-method-label {
    outline: 2px solid rgba(102, 126, 234, 0.5);
    outline-offset: 2px;
}

/* Payment Method Disabled State */
.payment-method-option.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.payment-method-option.disabled .payment-method-label {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Amount Field Control */
#amount-field {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#amount-field.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Amount Display */
.amount-display {
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 8px;
    font-family: 'IRANSansX', monospace;
    font-weight: 600;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.amount-display.show {
    opacity: 1;
    transform: translateY(0);
}

.amount-display .amount-text {
    font-weight: 700;
    color: #667eea;
}

/* Amount Field Animation */
@keyframes amountFieldSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#amount-field.show {
    animation: amountFieldSlideIn 0.4s ease-out;
}

/* Responsive Payment Method */
@media (max-width: 768px) {
    .payment-method-selector {
        flex-direction: column;
        gap: 12px;
        margin-top: 12px;
    }
    
    .payment-method-label {
        padding: 16px 18px;
        font-size: 14px;
        min-height: 55px;
    }
    
    .payment-method-label i {
        font-size: 18px;
        width: 22px;
    }
}

@media (max-width: 480px) {
    .payment-method-label {
        padding: 14px 16px;
        font-size: 13px;
        min-height: 50px;
    }
    
    .payment-method-label i {
        font-size: 16px;
        width: 20px;
    }
    
    .payment-method-label span {
        letter-spacing: 0.3px;
    }
} 

/* Responsive: Preorder form and Leaderboard */
@media (max-width: 1024px) {
	.album-preorder-section { padding: 80px 16px 60px 16px; }
	.album-preorder-title { font-size: clamp(1.6rem, 4.6vw, 2.1rem); letter-spacing: 1px; }
	.album-preorder-description { font-size: .95rem; max-width: 90%; }
	.tab-content { padding: 28px; }
}

@media (max-width: 768px) {
	.album-preorder-section { margin-top: 60px; padding: 60px 14px 50px 14px; overflow-x: hidden; }

	/* Layout: stack leaderboard and form */
	.main-content-grid { display: flex; flex-direction: column; gap: 18px; }
	.leaderboard-section, .preorder-form { width: 100% !important; }

	/* Tabs */
	.tab-buttons { gap: 10px; }
	.tab-btn { min-width: 86px; padding: 10px 12px; border-radius: 12px; }
	.tab-icon { font-size: 1.2rem; }
	.tab-title { font-size: .75rem; }
	.tab-price { font-size: .68rem; }
	.tab-content { padding: 20px; border-radius: 18px; }

	/* Form fields */
	.order-form .form-group { width: 100%; }
	.order-form .form-input, .order-form textarea { width: 100%; max-width: 100%; }
	#physical-fields, #address-fields { margin-top: 6px; }
	.submit-btn { width: 100%; padding: 12px; border-radius: 12px; }

	/* Leaderboard list */
	.leaderboard-list { list-style: none; padding: 0; margin: 0; }
	.leaderboard-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 8px; border-bottom: 1px solid rgba(255,255,255,.06); }
	.leaderboard-rank { min-width: 28px; text-align: center; opacity: .9; }
	.leaderboard-name { font-size: .95rem; }
	.leaderboard-amount { font-size: .9rem; opacity: .9; }
}

@media (max-width: 400px) {
	.album-preorder-title { font-size: clamp(1.2rem, 6vw, 1.5rem); }
	.album-preorder-description { font-size: .9rem; }
	.tab-btn { min-width: 78px; padding: 8px 10px; }
	.tab-icon { font-size: 1.1rem; }
	.tab-title { font-size: .7rem; }
	.tab-price { font-size: .64rem; }
} 

/* Leaderboard alignment fixes */
.leaderboard-item { align-items: center; }
.leaderboard-name { min-width: 0; }
.leaderboard-amount { direction: ltr; white-space: nowrap; flex: 0 0 auto; }

@media (max-width: 768px) {
	.leaderboard-item { display: flex; align-items: center; gap: 10px; }
	.leaderboard-rank { flex: 0 0 28px; text-align: center; }
	.leaderboard-name { flex: 1 1 auto; min-width: 0; }
	.leaderboard-amount { flex: 0 0 auto; margin-inline-start: auto; font-size: .9rem; direction: ltr; white-space: nowrap; }
	.leaderboard-details { font-size: .8rem; opacity: .8; }
} 

.leaderboard-info-wrap{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.leaderboard-details{ color: rgba(255,255,255,.75); font-size: .85rem; }

@media (max-width: 768px) {
	.leaderboard-info-wrap{ min-width: 0; }
	.leaderboard-name{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.leaderboard-details{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .78rem; }
} 