/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #8a2be2;
    --primary-dark: #6a1bb0;
    --primary-light: #9d4edd;
    --secondary: #00ff88;
    --secondary-dark: #00cc6a;
    --dark: #121212;
    --darker: #0a0a0a;
    --light: #f8f8f8;
    --gray: #2a2a2a;
    --gray-light: #444;
    --purple-glow: rgba(138, 43, 226, 0.3);
    --green-glow: rgba(0, 255, 136, 0.3);
    --font-main: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--darker);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
    background-image: url('https://c.termai.cc/i184/8U2M.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.85);
    z-index: -1;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--darker) 0%, #1a0b2e 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-content {
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

.loading-logo {
    font-size: 5rem;
    color: var(--primary);
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.loading-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.loading-bar {
    width: 300px;
    height: 8px;
    background-color: var(--gray);
    border-radius: 10px;
    margin: 0 auto 1.5rem;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 10px;
    animation: loadingProgress 3s forwards;
}

.loading-text p {
    font-size: 1.1rem;
    color: var(--primary-light);
}

/* Main Container */
.container {
    opacity: 0;
    animation: fadeIn 1s 3.2s forwards;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--primary);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--light);
}

.logo i {
    color: var(--primary);
    margin-right: 0.8rem;
    font-size: 2rem;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.history-badge {
    background-color: var(--secondary);
    color: var(--dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding: 5rem 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
}

.hero-content {
    max-width: 800px;
    margin-bottom: 4rem;
    background-color: rgba(18, 18, 18, 0.7);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: var(--primary);
    text-shadow: 0 0 10px var(--purple-glow);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 3rem;
}

.hero-cta {
    margin-top: 2rem;
}

.cta-button {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
    animation: float 3s infinite ease-in-out;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(138, 43, 226, 0.6);
    background: linear-gradient(to right, var(--primary-dark), var(--primary));
}

.cta-button i {
    animation: bounce 2s infinite;
}

.hero-illustration {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.floating-card {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 20px;
    padding: 2rem;
    width: 200px;
    text-align: center;
    transition: all 0.3s ease;
    animation: floatCard 6s infinite ease-in-out;
}

.floating-card:nth-child(2) {
    animation-delay: 1s;
}

.floating-card:nth-child(3) {
    animation-delay: 2s;
}

.floating-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.floating-card p {
    font-weight: 600;
    color: var(--light);
}

.floating-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(138, 43, 226, 0.5);
    border-color: var(--primary);
}

/* Section Common Styles */
.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 3rem;
}

/* Payment Section */
.payment-section {
    padding: 5rem 5%;
    background-color: rgba(10, 10, 10, 0.7);
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.payment-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(138, 43, 226, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.payment-card.active {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
}

.payment-header {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background-color: rgba(138, 43, 226, 0.1);
}

.payment-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 1rem;
}

.payment-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    flex-grow: 1;
}

.payment-toggle {
    font-size: 1.2rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.payment-card.active .payment-toggle {
    transform: rotate(180deg);
}

.payment-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s ease;
    padding: 0 1.5rem;
}

.payment-card.active .payment-details {
    max-height: 1000px;
    padding: 1.5rem;
}

.account-info {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.account-label {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 0.5rem;
}

.account-number {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.hidden-number {
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: #666;
}

.real-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--light);
    letter-spacing: 1px;
}

.copy-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.copy-btn.small {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
}

.account-name {
    font-size: 1.1rem;
    color: var(--primary-light);
}

.payment-tips {
    background-color: rgba(0, 255, 136, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--secondary);
}

.payment-tips h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.payment-tips ol {
    padding-left: 1.5rem;
}

.payment-tips li {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.close-details-btn {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.close-details-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--primary);
}

/* QRIS Specific Styles */
.qris-container {
    text-align: center;
}

.qris-loading, .qris-input, .qris-result {
    margin-bottom: 2rem;
}

.qris-loading {
    padding: 2rem;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(138, 43, 226, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

.qris-loading p {
    color: var(--primary);
    font-weight: 600;
}

.qris-input h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.min-nominal {
    color: #aaa;
    margin-bottom: 1.5rem;
}

.input-group {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
}

.input-prefix {
    background-color: var(--primary);
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 10px 0 0 10px;
    font-weight: 600;
}

#qrisAmount {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--primary);
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 0 10px 10px 0;
    font-size: 1.2rem;
    width: 200px;
    outline: none;
}

.fee-info {
    position: relative;
    margin-left: 1rem;
    cursor: help;
}

.fee-info i {
    color: var(--primary-light);
    font-size: 1.2rem;
}

.fee-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.95);
    color: var(--light);
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    width: 300px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    border: 1px solid var(--primary);
    z-index: 100;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    text-align: left;
    line-height: 1.5;
}

.fee-info:hover .fee-tooltip {
    opacity: 1;
    visibility: visible;
}

.fee-tooltip strong {
    color: var(--secondary);
    display: block;
    margin-bottom: 0.5rem;
}

.amount-breakdown {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.amount-breakdown p {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
}

.fee-text {
    color: #ffa502;
    font-size: 0.9rem;
}

.total-amount {
    border-top: 1px solid var(--gray-light);
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    font-size: 1.1rem;
}

.generate-qris-btn {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.generate-qris-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.5);
}

.qris-result h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.qris-code-container {
    background-color: white;
    padding: 1rem;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 2px solid var(--primary);
}

#qrisCanvas {
    display: block;
    margin: 0 auto;
}

.transaction-info {
    background-color: rgba(138, 43, 226, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    text-align: left;
    line-height: 1.8;
}

.transaction-info strong {
    color: var(--secondary);
}

.expiry-info {
    color: #ff6b6b;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding: 0.8rem;
    background-color: rgba(255, 107, 107, 0.1);
    border-radius: 10px;
}

.qris-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.action-btn {
    flex: 1;
    min-width: 150px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.action-btn.success {
    background: linear-gradient(to right, #00ff88, #00cc6a);
    color: #000;
    font-weight: 700;
}

.action-btn.success:hover {
    background: linear-gradient(to right, #00cc6a, #00aa55);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.4);
}

/* Statistics Section */
.stats-section {
    padding: 5rem 5%;
    background-color: rgba(10, 10, 10, 0.7);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: linear-gradient(145deg, rgba(138, 43, 226, 0.1), rgba(10, 10, 10, 0.5));
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(138, 43, 226, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.2);
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 0.5rem;
}

.rating-stars {
    color: #ffd700;
    font-size: 1.2rem;
}

/* History Transaction Section */
.history-section {
    padding: 5rem 5%;
    background-color: rgba(10, 10, 10, 0.7);
}

.history-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(138, 43, 226, 0.2);
    backdrop-filter: blur(10px);
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.history-filter {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.history-search {
    position: relative;
    width: 300px;
}

.history-search input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light);
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    border-radius: 20px;
    outline: none;
}

.history-search i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

.history-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-box {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-box.success {
    border-color: #00ff88;
    background-color: rgba(0, 255, 136, 0.05);
}

.stat-box.expired {
    border-color: #ff6b6b;
    background-color: rgba(255, 107, 107, 0.05);
}

.stat-box.pending {
    border-color: #ffa502;
    background-color: rgba(255, 165, 2, 0.05);
}

.stat-box h4 {
    font-size: 1rem;
    color: #aaa;
    margin-bottom: 0.5rem;
}

.stat-box p {
    font-size: 2rem;
    font-weight: 700;
    color: var(--light);
}

.stat-box.success p {
    color: #00ff88;
}

.stat-box.expired p {
    color: #ff6b6b;
}

.stat-box.pending p {
    color: #ffa502;
}

.history-chart {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    height: 300px;
}

.history-list {
    min-height: 300px;
}

.empty-history {
    text-align: center;
    padding: 3rem;
    color: #aaa;
}

.empty-history i {
    font-size: 4rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.history-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.history-item:hover {
    transform: translateX(5px);
    border-color: var(--primary);
    background-color: rgba(138, 43, 226, 0.05);
}

.history-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.history-item-id {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.history-item-status {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.status-success {
    background-color: rgba(0, 255, 136, 0.2);
    color: #00ff88;
}

.status-expired {
    background-color: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}

.status-pending {
    background-color: rgba(255, 165, 2, 0.2);
    color: #ffa502;
}

.history-item-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.history-detail {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 0.2rem;
}

.detail-value {
    font-weight: 600;
    color: var(--light);
}

.history-item-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.history-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Supported By Section */
.supported-section {
    padding: 3rem 5%;
    text-align: center;
    background-color: rgba(18, 18, 18, 0.7);
}

.supported-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 800px;
    margin: 2rem auto;
}

.supported-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    transition: all 0.3s ease;
}

.supported-logo:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.4);
}

.supported-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
.footer {
    background-color: rgba(18, 18, 18, 0.9);
    padding: 3rem 5% 1.5rem;
    border-top: 2px solid var(--primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: #aaa;
    line-height: 1.7;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background-color: #25D366;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #aaa;
}

.payment-icons {
    display: flex;
    gap: 1rem;
    font-size: 2rem;
    color: #aaa;
}

.payment-icons i {
    transition: color 0.3s ease;
}

.payment-icons i:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray);
    color: #777;
}

.heart {
    color: #ff4757;
    animation: heartbeat 1.5s infinite;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(145deg, var(--dark), var(--darker));
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    border: 2px solid var(--primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.success-icon {
    font-size: 4rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.modal-content p {
    color: #aaa;
    margin-bottom: 1.5rem;
}

.modal-close-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Detail Modal */
.detail-modal {
    max-width: 500px;
    text-align: left;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
}

.transaction-detail {
    margin-top: 1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-label {
    color: #aaa;
}

.detail-value {
    font-weight: 600;
    color: var(--light);
}

/* Confirm Modal */
.confirm-modal {
    max-width: 450px;
}

.warning-icon {
    font-size: 4rem;
    color: #ffa502;
    margin-bottom: 1rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-btn {
    padding: 0.8rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.modal-btn.cancel {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-btn.confirm {
    background-color: #ff4757;
    color: white;
}

.modal-btn:hover {
    transform: translateY(-3px);
}

/* Animations */
@keyframes loadingProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes floatCard {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

@keyframes gradientMove {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    5% { transform: scale(1.1); }
    10% { transform: scale(1); }
    15% { transform: scale(1.2); }
    20%, 100% { transform: scale(1); }
}

/* Fade In Animation Class */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    .payment-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .history-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .history-search {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(18, 18, 18, 0.95);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        border-top: 1px solid var(--primary);
    }
    
    .nav.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .floating-card {
        width: 150px;
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .qris-actions {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
    }
    
    .history-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .header {
        padding: 1rem 5%;
    }
    
    .hero-section, .payment-section, .stats-section, .history-section {
        padding: 3rem 5%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 1rem 1.8rem;
        font-size: 1rem;
    }
    
    .payment-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .history-stats {
        grid-template-columns: 1fr;
    }
    
    .history-item-details {
        grid-template-columns: 1fr;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-btn {
        width: 100%;
    }
    
    .fee-tooltip {
        width: 250px;
        font-size: 0.8rem;
    }
}