* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2a2a2a;
    --bg-tertiary: #333333;
    --text-primary: #e0e0e0;
    --text-secondary: #999999;
    --accent: #AB9FF2;
    --accent-hover: #AB9FF2;
    --accent-dark: #AB9FF2;
    --border-color: #404040;
    --card-bg: #252525;
    --shadow: rgba(0, 0, 0, 0.5);
}

html {
    background-color: var(--bg-primary);
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    overflow: auto;
}

/* Top Header with Hamburger Menu and Logo */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bg-primary);
    backdrop-filter: blur(10px);
}

.header-spacer {
    width: 60px;
    height: 60px;
}

.hamburger-menu {
    background: transparent;
    border: 2px solid var(--accent);
    border-radius: 8px;
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hamburger-menu span {
    width: 24px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.hamburger-menu:hover {
    background: rgba(171, 159, 242, 0.1);
    box-shadow: 0 4px 12px rgba(171, 159, 242, 0.2);
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hamburger Menu Sidebar */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

.sidebar-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--card-bg);
    border-left: 2px solid var(--border-color);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 6rem 0 2rem 0;
    transition: right 0.3s ease;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5);
}

.sidebar-menu.active {
    right: 0;
}

.menu-section {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.menu-section:last-child {
    border-bottom: none;
}

.menu-item {
    display: block;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.75rem 0;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.menu-item:hover {
    color: var(--accent);
    padding-left: 0.5rem;
}

/* Header Logo Circle */
.logo-circle-header {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 1px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(171, 159, 242, 0.2);
    overflow: hidden;
}

.logo-circle-header video,
.logo-circle-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.logo-circle-header .logo-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -1px;
}

.container {
    max-width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    padding: 5.5rem 1.5rem 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: var(--bg-primary);
}

/* Main Content */
.main-content {
    flex: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0.5rem 0;
    min-height: 0;
}

.btn-start-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    padding: 1.25rem 3.5rem;
    background: rgba(171, 159, 242, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-primary);
    border: 2px solid rgba(171, 159, 242, 0.5);
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(171, 159, 242, 0.4);
    letter-spacing: 0.5px;
}

.btn-start-overlay:hover {
    background: rgba(171, 159, 242, 0.25);
    border-color: var(--accent);
    transform: translate(-50%, -50%) translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(171, 159, 242, 0.3);
}

.btn-start-overlay:active {
    transform: translate(-50%, -50%) translateY(-2px);
}

/* Video Section */
.video-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0.5rem 0;
}

/* Telegram Button */
.telegram-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.875rem 2rem;
    background: #0088cc;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.telegram-button:hover {
    background: #0077b5;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 136, 204, 0.4);
}

.telegram-button svg {
    width: 20px;
    height: 20px;
}

/* Section Divider */
.section-divider {
    width: 100%;
    height: 1px;
    background: var(--border-color);
    margin: 0.75rem 0;
}

/* Google Reviews Section */
.reviews-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1rem 0;
}

.reviews-container {
    width: 100%;
    max-width: 900px;
    position: relative;
    overflow: hidden;
}

.reviews-slider {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding: 0.5rem 0;
}

.reviews-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.review-card {
    min-width: 280px;
    max-width: 280px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border-color: var(--accent);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border-color);
}

.review-info {
    flex: 1;
}

.review-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.review-stars {
    color: #FFD700;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
    flex: 1;
}

.review-date {
    color: var(--text-secondary);
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Bitcoin Section */
.btc-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1.5rem 0;
}

/* Main Footer */
.main-footer {
    margin-top: 2rem;
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-top: 1px solid var(--border-color);
}

/* Footer Content */
.footer-content {
    text-align: center;
}

.footer-verified {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.telegram-link {
    color: var(--text-secondary);
}

.telegram-link a {
    color: #0088cc;
    text-decoration: none;
    font-weight: 600;
}

.telegram-link a:hover {
    text-decoration: underline;
}

.video-banner-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-secondary);
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Bitcoin Coin Frame */
.coin-frame {
    width: 180px;
    height: 180px;
    border: 2px solid var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(171, 159, 242, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(171, 159, 242, 0.2);
    position: relative;
}

.video-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-banner-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
}


.logo-circle-footer {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 48px rgba(171, 159, 242, 0.4);
    overflow: hidden;
}

.logo-circle-footer img,
.logo-circle-footer video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.logo-video {
    display: block;
}

.logo-circle-footer .logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -2px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.logo h1 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: -0.5px;
}

/* Products Page Logo */
.logo-header-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

.logo-circle-small {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 3px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(171, 159, 242, 0.3);
    overflow: hidden;
}

.logo-circle-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.logo-circle-small .logo-text-small {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -1px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--accent);
}

.hero-header {
    position: relative;
    margin-bottom: 4rem;
}

.hero {
    text-align: center;
    margin-bottom: 4rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 400;
}

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

.offer-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow);
    border-color: var(--accent);
}

.offer-card.featured {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(171, 159, 242, 0.25);
}

.offer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.offer-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.offer-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-badge.premium {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
    box-shadow: 0 2px 8px rgba(171, 159, 242, 0.3);
}

.offer-price {
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.price-currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.offer-features {
    list-style: none;
    margin-bottom: 2rem;
}

.offer-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-color);
}

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

.btn-primary {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    font-family: inherit;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

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

/* Products Page Styles */
.products-section {
    margin-top: 2rem;
}

.section-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.5rem;
    gap: 2rem;
}

.phantom-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.phantom-menu-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
}

/* Bitcoin Coin Frame - Small version for header */
.coin-frame-small {
    width: 120px;
    height: 120px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(171, 159, 242, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
}

.coin-small {
    font-size: 75px;
    width: 0.1em;
    height: 1em;
    background: linear-gradient(#faa504, #141001);
    margin: 0;
    position: relative;
    animation: rotate_4001510 7s infinite linear;
    transform-style: preserve-3d;
}

.coin-small .side, .coin-small:before, .coin-small:after {
    content: "";
    position: absolute;
    width: 1em;
    height: 1em;
    overflow: hidden;
    border-radius: 50%;
    right: -0.4em;
    text-align: center;
    line-height: 1;
    transform: rotateY(-90deg);
    -moz-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.coin-small .tails, .coin-small:after {
    left: -0.4em;
    transform: rotateY(90deg);
}

.coin-small:before, .coin-small:after {
    background: linear-gradient(#faa504, #141001);
    backface-visibility: hidden;
    transform: rotateY(90deg);
}

.coin-small:after {
    transform: rotateY(-90deg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 0;
}

/* Product Image Slider - Each card has its own slider */
.product-image-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-image-slider .product-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    will-change: opacity;
}

.product-image-slider .product-slide:first-child {
    opacity: 1;
    z-index: 2;
}

.product-image-slider.active .product-slide:first-child {
    opacity: 0;
    z-index: 1;
}

.product-image-slider.active .product-slide:last-child {
    opacity: 1;
    z-index: 2;
}

/* Product Card with Video */
.product-card-video {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

/* Product Description */
.product-description {
    text-align: center;
    margin: 0;
    padding: 0;
}

.product-description p {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    font-weight: 500;
}

/* Verified Checkmark - Dark Theme */
.product-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 auto;
}

.product-verified svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--text-secondary);
}

.product-verified span {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-secondary);
    white-space: nowrap;
}

.product-card-video:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow);
    border-color: var(--accent);
}

/* Phantom Card - Image Only with Hover */
.product-card-phantom {
    padding: 0.5rem;
    gap: 0;
}

.product-card-phantom .product-video-frame {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card-phantom:hover .product-video-frame {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(171, 159, 242, 0.3);
    border-color: var(--accent);
}

.product-card-phantom:hover .product-media {
    filter: brightness(1.1);
}

.product-video-frame {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.product-video,
.product-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Remove old Phantom card styles since we're using sliders now */
.product-card-phantom {
    padding: 1rem;
    gap: 0.75rem;
}

.product-price-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 0.25rem 0;
}

.product-balance {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 400;
    position: relative;
    display: inline-block;
}

.product-balance::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #4CAF50;
    border-radius: 1px;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: -0.5px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    min-height: 200px;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow);
    border-color: var(--accent);
}

.product-info {
    margin-bottom: 1.5rem;
}

.product-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Payment Button - From Uiverse.io by fthisilak */
.pay-btn,
.btn-buy {
    position: relative;
    width: 100%;
    padding: 12px 24px;
    font-size: 16px;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: inherit;
    font-weight: 600;
}

.pay-btn:hover,
.btn-buy:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(171, 159, 242, 0.4);
}

.pay-btn:active,
.btn-buy:active {
    background: var(--accent-dark);
    transform: translateY(0);
}

.icon-container {
    position: relative;
    width: 24px;
    height: 24px;
}

.icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    color: #22c55e;
    opacity: 0;
    visibility: hidden;
}

.default-icon {
    opacity: 1;
    visibility: visible;
}

/* Hover animations */
.pay-btn:hover .icon {
    animation: none;
}

.pay-btn:hover .wallet-icon {
    opacity: 0;
    visibility: hidden;
}

.pay-btn:hover .card-icon {
    animation: iconRotate 2.5s infinite;
    animation-delay: 0s;
}

.pay-btn:hover .payment-icon {
    animation: iconRotate 2.5s infinite;
    animation-delay: 0.5s;
}

.pay-btn:hover .dollar-icon {
    animation: iconRotate 2.5s infinite;
    animation-delay: 1s;
}

.pay-btn:hover .check-icon {
    animation: iconRotate 2.5s infinite;
    animation-delay: 1.5s;
}

/* Active state - show only checkmark */
.pay-btn:active .icon {
    animation: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.pay-btn:active .check-icon {
    animation: checkmarkAppear 0.6s ease forwards;
    visibility: visible;
}

.btn-text {
    font-weight: 600;
    font-family: system-ui, -apple-system, sans-serif;
}

@keyframes iconRotate {
    0% {
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px) scale(0.5);
    }
    5% {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }
    15% {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }
    20% {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px) scale(0.5);
    }
    100% {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px) scale(0.5);
    }
}

@keyframes checkmarkAppear {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-45deg);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2) rotate(0deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: var(--card-bg);
    margin: 5% auto;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 90%;
    max-width: 550px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--bg-primary);
}

.close {
    color: var(--text-secondary);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.close:hover,
.close:focus {
    color: var(--text-primary);
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.5rem;
}

#paymentDetails {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

#cryptomusWidget {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 276px;
    width: 100%;
    background: var(--bg-primary);
}

.widget-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: 8px;
}

#cryptomusWidget iframe {
    border-radius: 8px;
    border: none;
    background: var(--bg-secondary);
    max-width: 100%;
    height: 276px;
    width: 472px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

#paymentDetails p {
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

#paymentDetails strong {
    color: var(--text-primary);
}

#paymentStatus {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
}

#paymentStatus.success {
    background: rgba(46, 160, 67, 0.15);
    border: 1px solid rgba(46, 160, 67, 0.3);
    color: #4ec970;
    display: block;
}

#paymentStatus.error {
    background: rgba(248, 81, 73, 0.15);
    border: 1px solid rgba(248, 81, 73, 0.3);
    color: #f85149;
    display: block;
}

/* From Uiverse.io by JohnnyCSilva - Coin Animation */
.coin {
    font-size: 100px;
    width: 0.1em;
    height: 1em;
    background: linear-gradient(#faa504, #141001);
    margin: 0;
    position: relative;
    animation: rotate_4001510 7s infinite linear;
    transform-style: preserve-3d;
}

.coin .side, .coin:before, .coin:after {
    content: "";
    position: absolute;
    width: 1em;
    height: 1em;
    overflow: hidden;
    border-radius: 50%;
    right: -0.4em;
    text-align: center;
    line-height: 1;
    transform: rotateY(-90deg);
    -moz-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.coin .tails, .coin:after {
    left: -0.4em;
    transform: rotateY(90deg);
}

.coin:before, .coin:after {
    background: linear-gradient(#faa504, #141001);
    backface-visibility: hidden;
    transform: rotateY(90deg);
}

.coin:after {
    transform: rotateY(-90deg);
}

@keyframes rotate_4001510 {
    100% {
        transform: rotateY(360deg);
    }
}

.svg_back {
    transform: scaleX(-1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-header {
        padding: 1rem 1.5rem;
    }

    .hamburger-menu {
        width: 45px;
        height: 45px;
    }

    .logo-circle-header {
        width: 55px;
        height: 55px;
    }

    .header-spacer {
        width: 55px;
        height: 55px;
    }

    .logo-circle-header .logo-text {
        font-size: 0.9rem;
    }


    .banner-section {
        margin-top: auto;
        margin-bottom: 0;
    }

    .video-banner-container {
        max-width: 100%;
        border-radius: 12px;
    }

    .btn-start-overlay {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
    }

    .coin {
        font-size: 70px;
    }

    .coin-frame {
        width: 130px;
        height: 130px;
    }

    .section-header {
        justify-content: center;
        margin-bottom: 2rem;
    }

    .phantom-menu-wrapper {
        gap: 1rem;
    }

    .coin-frame-small {
        width: 90px;
        height: 90px;
    }

    .coin-small {
        font-size: 55px;
    }

    .phantom-menu-text {
        font-size: 1.8rem;
    }

    .modal-content {
        width: 95%;
        max-width: 100%;
        padding: 1.5rem;
        margin: 10% auto;
        background: var(--bg-primary) !important;
    }

    #cryptomusWidget {
        background: var(--bg-primary);
    }

    #cryptomusWidget iframe {
        width: 100% !important;
        max-width: 100%;
        height: 276px;
        min-height: 276px;
    }

    .widget-container {
        width: 100%;
        padding: 0.5rem;
        background: var(--bg-primary);
    }

    .section-divider {
        margin: 0.5rem 0;
    }

    .video-section {
        padding: 0.25rem 0;
    }

    .btc-section {
        padding: 1rem 0;
    }

    .main-footer {
        padding: 1.5rem 0;
        margin-top: 1.5rem;
    }

    .footer-verified {
        font-size: 0.85rem;
        gap: 0.5rem;
    }

    .telegram-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        margin-top: 1rem;
    }

    .review-card {
        min-width: 250px;
        max-width: 250px;
        padding: 1rem;
    }

    .review-avatar-img {
        width: 40px;
        height: 40px;
    }

    .reviews-container {
        max-width: 100%;
    }

    .video-banner-container {
        max-width: 100%;
    }

    .container {
        padding: 5rem 1rem 0.5rem 1rem;
    }

    .banner-section {
        margin-top: 0.5rem;
    }

    .sidebar-menu {
        width: 280px;
        right: -300px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }


    .product-card-video {
        padding: 0.875rem;
        gap: 0.6rem;
    }

    .product-price {
        font-size: 1.25rem;
    }

    .product-balance {
        font-size: 0.75rem;
    }

    .product-verified svg {
        width: 12px;
        height: 12px;
    }

    .product-verified span {
        font-size: 0.7rem;
    }

    .product-description p {
        font-size: 0.9rem;
    }

    .btn-buy {
        padding: 0.55rem 0.875rem;
        font-size: 0.85rem;
    }
}
