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

body {
    background-color: #121212;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    overscroll-behavior: none;
    padding-top: 80px;
}

/* Image optimization for mobile */
img {
    max-width: 100%;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    background-color: #121212;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    gap: 10px;
    min-height: 80px;
}

.header-logo {
    flex-shrink: 0;
    z-index: 10;
}

.header-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.header-logo img:hover {
    transform: scale(1.1);
}

.header-title {
    flex: 1;
    text-align: center;
    z-index: 1;
}

.header-title h1 {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1;
    margin-bottom: 5px;
    letter-spacing: -1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.header-title p {
    font-size: 0.8rem;
    color: #00FFC8;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background: #00FFC8;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.main-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #1A1A1A;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-menu ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.main-menu li {
    margin-bottom: 0;
}

.main-menu a {
    color: #00FFC8;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.main-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.main-menu a:hover {
    color: #fff;
}

.main-menu a:hover::after {
    width: 100%;
}

/* Burger Menu Styles */
.burger-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    flex-shrink: 0;
}

.burger-line {
    width: 25px;
    height: 3px;
    background: #00FFC8;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Menu Content Styles */
.menu-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: #1A1A1A;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    min-width: 200px;
}

.menu-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-item {
    color: #00FFC8;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.menu-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.menu-item:hover {
    color: #fff;
}

.menu-item:hover::after {
    width: 100%;
}

/* Section Header Styles */
.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-number {
    font-size: 4rem;
    font-weight: 800;
    color: #666;
    margin-right: 20px;
    opacity: 0.5;
    line-height: 1;
}

.section-title h2 {
    font-size: 1.8rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-title .underline {
    width: 50px;
    height: 3px;
    background-color: #00FFC8;
    margin-top: 10px;
}

/* Biography Section */
.biography-section {
    padding: 30px 0;
    margin-top: 20px;
}

.biography-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.biography-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.biography-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-width: 100%;
}

.biography-text {
    width: 100%;
    font-size: 1rem;
    line-height: 1.8;
    text-align: center;
}

.biography-text p {
    margin-bottom: 15px;
}

.biography-video-button {
    text-align: center;
    margin-top: 25px;
}

.video-button {
    display: inline-block;
    color: #00FFC8;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 14px 32px;
    border: 2px solid #00FFC8;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.video-button:hover {
    background-color: #00FFC8;
    color: #121212;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 200, 0.4);
}

.video-button:hover::before {
    left: 100%;
}

.video-button:active {
    transform: translateY(0);
}

.biography-social-section {
    text-align: center;
    margin-top: 30px;
}

.biography-social-title {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-align: center;
}

.biography-social-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 20px 0;
    width: 100%;
    justify-items: center;
}

.biography-social-buttons .social-btn-round {
    width: 60px;
    height: 60px;
}

.biography-social-buttons .social-btn-round:hover::before {
    width: 120px;
    height: 120px;
}

.biography-social-buttons .social-icon-img {
    width: 60px;
    height: 60px;
}

.biography-social-buttons .social-button-label {
    font-size: 1rem;
    margin-top: 8px;
}

.social-button-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.social-button-label {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.biography-sidebar {
    flex: 1;
    background-color: #1A1A1A;
    padding: 25px;
    border-radius: 8px;
    align-self: flex-start;
    position: sticky;
    top: 100px;
}

.biography-sidebar ul {
    list-style: none;
}

.biography-sidebar li {
    padding: 12px 0;
    border-bottom: 1px solid #333;
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.biography-sidebar li:hover {
    color: #00FFC8;
    padding-left: 5px;
}

.biography-sidebar li:last-child {
    border-bottom: none;
}

/* Bestsellers Section (adapted for Store) */
.bestsellers-section {
    padding: 30px 0;
    background: linear-gradient(135deg, #171717 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.bestsellers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 255, 200, 0.1) 0%, transparent 40%);
    z-index: 0;
}

.bestsellers-section .section-header {
    position: relative;
    z-index: 1;
}

.bestsellers-section .biography-social-title {
    position: relative;
    z-index: 1;
    margin-top: 40px;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.book-item {
    background: rgba(18, 18, 18, 0.85);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
}

.book-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 255, 200, 0.15);
}

.book-item img {
    width: 100%;
    height: auto;
    min-height: 280px;
    max-height: 500px;
    object-fit: cover;
    border-bottom: 3px solid #00FFC8;
    transition: transform 0.5s ease;
    display: block;
    max-width: 100%;
}

.book-item:hover img {
    transform: scale(1.05);
}

.book-info {
    padding: 25px;
    text-align: center;
}

.book-info h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.book-info p {
    font-size: 1.1rem;
    color: #ddd;
    margin-bottom: 8px;
    font-weight: 300;
}

.view-all-button {
    text-align: center;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.view-all-button a {
    display: inline-block;
    color: #00FFC8;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 14px 32px;
    border: 2px solid #00FFC8;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.view-all-button a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 200, 0.2), transparent);
    transition: left 0.7s ease;
}

.view-all-button a:hover {
    background-color: #00FFC8;
    color: #121212;
}

.view-all-button a:hover::before {
    left: 100%;
}

/* Social Buttons Store Section */
.social-buttons-store {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
    padding: 20px 0;
    width: 100%;
    justify-items: center;
    position: relative;
    z-index: 1;
}

.social-buttons-store .social-btn-round {
    width: 60px;
    height: 60px;
    padding: 0;
}

.social-buttons-store .social-icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
    z-index: 1;
    position: relative;
}

.social-contact-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: nowrap;
}

.social-contact-row:last-child {
    border-bottom: none;
}

.social-contact-label {
    font-size: 1rem;
    color: #f0f0f0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    flex: 1;
}

.social-contact-row .social-btn-round {
    margin-left: auto;
}

/* Round Social Buttons */
.social-btn-round {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: 2px solid #00FFC8;
    border-radius: 50%;
    background-color: transparent;
    color: #00FFC8;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 255, 200, 0.1);
    flex-shrink: 0;
}

.social-btn-round::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 255, 200, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.social-btn-round:hover::before {
    width: 120px;
    height: 120px;
}

.social-btn-round .social-icon {
    font-size: 1.3rem;
    z-index: 1;
    position: relative;
    transition: transform 0.3s ease;
}

.social-btn-round .social-icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    z-index: 1;
    position: relative;
    transition: transform 0.3s ease;
    display: block;
}

.social-btn-round:hover {
    background-color: #00FFC8;
    color: #121212;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 255, 200, 0.4);
    border-color: #00FFC8;
}

.social-btn-round:hover .social-icon {
    transform: scale(1.2) rotate(5deg);
}

.social-btn-round:hover .social-icon-img {
    transform: scale(1.2) rotate(5deg);
}

.social-btn-round:active {
    transform: translateY(-1px) scale(1.05);
}

/* Specific social button colors on hover for round buttons */
.social-btn-round.social-telegram:hover {
    background-color: #0088cc;
    border-color: #0088cc;
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
    color: #fff;
}

.social-btn-round.social-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #bc1888;
    box-shadow: 0 8px 25px rgba(188, 24, 136, 0.4);
    color: #fff;
}

.social-btn-round.social-whatsapp:hover {
    background-color: #25D366;
    border-color: #25D366;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: #fff;
}

.social-btn-round.social-vk:hover {
    background-color: #0077FF;
    border-color: #0077FF;
    box-shadow: 0 8px 25px rgba(0, 119, 255, 0.4);
    color: #fff;
}

.social-btn-round.social-youtube:hover {
    background-color: #FF0000;
    border-color: #FF0000;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
    color: #fff;
}

/* App Social Buttons */
.app-social-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border: 2px solid #00FFC8;
    border-radius: 50px;
    background-color: transparent;
    color: #00FFC8;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    min-width: 140px;
    box-shadow: 0 4px 15px rgba(0, 255, 200, 0.1);
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 255, 200, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.social-btn:hover::before {
    width: 300px;
    height: 300px;
}

.social-btn .social-icon {
    font-size: 1.2rem;
    z-index: 1;
    position: relative;
    transition: transform 0.3s ease;
}

.social-btn .social-text {
    z-index: 1;
    position: relative;
    transition: transform 0.3s ease;
}

.social-btn:hover {
    background-color: #00FFC8;
    color: #121212;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 255, 200, 0.4);
    border-color: #00FFC8;
}

.social-btn:hover .social-icon {
    transform: scale(1.2) rotate(5deg);
}

.social-btn:hover .social-text {
    transform: translateX(2px);
}

.social-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Specific social button colors on hover */
.social-telegram:hover {
    background-color: #0088cc;
    border-color: #0088cc;
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
}

.social-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #bc1888;
    box-shadow: 0 8px 25px rgba(188, 24, 136, 0.4);
    color: #fff;
}

.social-whatsapp:hover {
    background-color: #25D366;
    border-color: #25D366;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.social-vk:hover {
    background-color: #0077FF;
    border-color: #0077FF;
    box-shadow: 0 8px 25px rgba(0, 119, 255, 0.4);
}

.social-youtube:hover {
    background-color: #FF0000;
    border-color: #FF0000;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

/* Event Section (adapted for Football) */
.event-section {
    padding: 30px 0;
    background: linear-gradient(135deg, #171717 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.event-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 255, 200, 0.1) 0%, transparent 40%);
    z-index: 0;
}

.event-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background: rgba(18, 18, 18, 0.85);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 1;
}

.event-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.event-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.event-content h3 {
    font-size: 0.95rem;
    color: #00FFC8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    font-weight: 600;
}

.event-content h2 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 800;
}

.event-content p {
    font-size: 1.1rem;
    color: #ddd;
    margin-bottom: 8px;
    font-weight: 300;
}

.event-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    min-height: 350px;
    order: -1;
}

.event-image img {
    width: 100%;
    height: auto;
    min-height: 350px;
    max-height: 600px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
    max-width: 100%;
}

.event-image img:hover {
    transform: scale(1.05);
}

.instagram-button {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.instagram-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #FD1D1D, #E1306C, #C13584, #833AB4, #5851DB, #405DE6);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.instagram-button:hover::before {
    opacity: 1;
}

.instagram-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.instagram-button:active {
    transform: translateY(1px);
}

.profile-pic {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.button-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.button-text span {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-top: 3px;
    opacity: 0.9;
}

/* Press Section (adapted for App) */
.press-section {
    padding: 30px 0;
    background-color: #141414;
    position: relative;
}

.press-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 255, 200, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.app-grid {
    display: flex;
    gap: 40px;
    background: rgba(26, 26, 26, 0.9);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(0, 255, 200, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
}

.app-media {
    flex: 1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.app-media img {
    width: 100%;
    height: auto;
    min-height: 400px;
    max-height: 600px;
    object-fit: cover;
    display: block;
    filter: saturate(1.15);
    transition: transform 0.5s ease;
    max-width: 100%;
}

.app-media:hover img {
    transform: scale(1.03);
}

.app-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 255, 200, 0.15);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 1.8px;
    color: #00FFC8;
    text-transform: uppercase;
    font-weight: 700;
    border: 1px solid rgba(0, 255, 200, 0.4);
    backdrop-filter: blur(8px);
    white-space: nowrap;
}

.app-details {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: center;
}

.app-author-name {
    font-size: 1.9rem;
    color: #fff;
    text-align: center;
    font-weight: 700;
    margin-bottom: 15px;
}

.app-intro {
    font-size: 1.1rem;
    color: #f0f0f0;
    line-height: 1.7;
}

.app-benefits {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.app-benefit {
    padding: 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 1.5rem;
    color: #d8d8d8;
    line-height: 1.6;
    position: relative;
    padding-left: 45px;
}

.app-benefit::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 22px;
    width: 8px;
    height: 8px;
    background-color: #00FFC8;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 255, 200, 0.8);
}

.app-download-title {
    font-size: 1.3rem;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    perspective: 1000px;
    align-items: center;
}

.app-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 40px;
    border: 2px solid #00FFC8;
    color: #00FFC8;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.app-button:hover {
    background-color: #00FFC8;
    color: #121212;
    box-shadow: 0 10px 20px rgba(0, 255, 200, 0.3);
}

.app-button.disabled {
    opacity: 0.4;
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    background: transparent;
    box-shadow: none;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    z-index: 1;
    position: relative;
}

.stat-item {
    background: rgba(26, 26, 26, 0.8);
    padding: 35px 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 255, 200, 0.1);
    backdrop-filter: blur(5px);
}

.stat-item:hover {
    transform: translateY(-8px);
    background: rgba(0, 255, 200, 0.08);
    border-color: rgba(0, 255, 200, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-icon {
    font-size: 2.5rem;
    color: #00FFC8;
    margin-bottom: 12px;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
}

/* Blog Section */
.blog-section {
    padding: 70px 0;
    background: linear-gradient(to bottom, #1a1a1a 0%, #151515 100%);
}


.post-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: #00FFC8;
    margin-top: 15px;
}

.post-meta span {
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.post-meta span::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #00FFC8;
    border-radius: 50%;
    margin-right: 8px;
}

/* Contact Section */
.contact-section {
    padding: 30px 0;
    background-color: #121212;
    text-align: center;
}

.contact-section .section-header {
    justify-content: center;
    margin-bottom: 50px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto 40px;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #333;
    border-radius: 8px;
    background-color: #1A1A1A;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00FFC8;
    box-shadow: 0 0 0 3px rgba(0, 255, 200, 0.2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    padding: 12px 20px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 0.95rem;
    text-align: center;
}

.form-message.success {
    background: rgba(0, 255, 200, 0.1);
    border: 1px solid #00FFC8;
    color: #00FFC8;
}

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

.contact-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.contact-form button {
    padding: 16px 28px;
    border: none;
    border-radius: 8px;
    background-color: #00ffc8;
    color: #121212;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
    min-width: 200px;
}

.contact-form button:hover {
    background-color: #00E6B8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 200, 0.4);
}

.contact-form button:active {
    transform: translateY(0);
}

.social-icons {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-bottom: 30px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: 2px solid #00FFC8;
    border-radius: 50%;
    color: #00FFC8;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.2);
}

.social-icons a:hover {
    background-color: #00FFC8;
    color: #121212;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 200, 0.4);
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: #777;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-weight: 500;
}

/* Scroll Progress Indicator */
#scrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background-color: #00FFC8;
    z-index: 10000;
    transition: width 0.1s ease;
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #00FFC8;
    color: #121212;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

#backToTop.visible {
    opacity: 1;
    transform: translateY(0);
}

#backToTop:hover {
    background-color: #00e6b8;
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-title h1 {
        font-size: 3.3rem;
    }
    
    .books-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .app-grid {
        gap: 25px;
        padding: 30px;
    }

    .event-card {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 65px;
    }
    
    header {
        padding: 8px 0;
    }
    
    .header-content {
        gap: 6px;
        min-height: 60px;
    }
    
    .header-logo img {
        width: 55px;
        height: 55px;
    }
    
    .header-title h1 {
        font-size: 2rem;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .header-logo {
        order: 1;
    }
    
    .header-logo img {
        width: 70px;
        height: 70px;
    }
    
    .header-title {
        order: 2;
        flex: 1;
        text-align: center;
    }
    
    .header-title h1 {
        font-size: 2.2rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    .header-content {
        gap: 8px;
        min-height: 70px;
    }
    
    .header-logo img {
        width: 60px;
        height: 60px;
    }
    
    .biography-section {
        margin-top: 15px;
    }
    
    .burger-menu {
        order: 3;
        position: relative;
        top: auto;
        right: auto;
    }
    
    .menu-content {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(26, 26, 26, 0.98);
        padding: 30px 20px;
        border-radius: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        z-index: 999;
        transform: translateY(-150%);
        transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
        opacity: 0;
        visibility: hidden;
    }
    
    .menu-content.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .menu-item {
        display: block;
        padding: 12px 0;
        font-size: 1.2rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .section-number {
        font-size: 3.5rem;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .biography-content {
        flex-direction: column;
    }
    
    .biography-image {
        max-width: 100%;
    }
    
    .biography-sidebar {
        position: relative;
        top: auto;
        margin-top: 30px;
    }
    
    .event-content {
        flex-direction: column;
    }
    
    .event-image {
        order: -1;
        min-height: 250px;
    }
    
    .event-image img {
        min-height: 250px;
        max-height: 400px;
    }
    
    .app-media img {
        min-height: 300px;
        max-height: 450px;
    }
    
    .book-item img {
        min-height: 200px;
        max-height: 350px;
    }
    
    .books-grid {
        grid-template-columns: 1fr;
    }
    
    .social-buttons-store {
        gap: 20px;
        padding: 15px 0;
    }
    
    .social-buttons-store .social-btn-round {
        width: 60px;
        height: 60px;
        padding: 0;
    }
    
    .book-info h3 {
        font-size: 1.5rem;
    }
    
    .social-btn {
        min-width: 120px;
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .social-btn .social-icon {
        font-size: 1rem;
    }
    
    .social-btn-round {
        width: 60px;
        height: 60px;
    }
    
    .biography-social-buttons .social-btn-round {
        width: 60px;
        height: 60px;
    }
    
    .biography-social-buttons .social-btn-round:hover::before {
        width: 120px;
        height: 120px;
    }
    
    .biography-social-buttons .social-icon-img {
        width: 60px;
        height: 60px;
    }
    
    .social-btn-round .social-icon {
        font-size: 1.1rem;
    }
    
    .social-btn-round .social-icon-img {
        width: 60px;
        height: 60px;
    }
    
    .app-social-buttons {
        gap: 12px;
        margin-top: 20px;
    }
    
    .app-badge {
        font-size: 0.7rem;
        padding: 9px 16px;
        letter-spacing: 1.5px;
    }
    
    .event-card {
        flex-direction: column;
        text-align: center;
    }
    
    .event-content h2 {
        font-size: 2.2rem;
    }
    
    .event-image {
        min-height: 300px;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-icon {
        font-size: 2rem;
    }

    .app-grid {
        flex-direction: column;
        padding: 30px;
    }

    .app-download-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .app-buttons {
        flex-direction: column;
        align-items: center;
    }

    .app-button {
        width: 100%;
    }

    .contact-form {
        flex-direction: column;
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 60px;
    }
    
    .header-logo img {
        width: 50px;
        height: 50px;
    }
    
    .header-title h1 {
        font-size: 1.6rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    .header-content {
        gap: 4px;
        min-height: 50px;
    }
    
    header {
        padding: 6px 0;
    }
    
    .biography-section {
        margin-top: 10px;
    }
    
    .header-title p {
        font-size: 0.7rem;
    }
    
    .section-number {
        font-size: 3rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .event-content h2 {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-icon {
        font-size: 1.8rem;
    }
    
    .book-item img {
        min-height: 200px;
        max-height: 300px;
    }
    
    .biography-image {
        max-width: 100%;
    }
    
    .event-image {
        min-height: 200px;
    }
    
    .event-image img {
        min-height: 200px;
        max-height: 300px;
    }
    
    .app-media img {
        min-height: 250px;
        max-height: 350px;
    }
    
    .social-buttons-store {
        gap: 15px;
        padding: 15px 0;
    }
    
    .social-buttons-store .social-btn-round {
        width: 60px;
        height: 60px;
        padding: 0;
    }
    
    .book-info h3 {
        font-size: 1.3rem;
    }
    
    .app-badge {
        font-size: 0.65rem;
        padding: 8px 14px;
        letter-spacing: 1.2px;
    }
    
    .social-btn {
        width: 100%;
        max-width: 280px;
        min-width: auto;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .social-btn-round {
        width: 60px;
        height: 60px;
    }
    
    .biography-social-buttons .social-btn-round {
        width: 60px;
        height: 60px;
    }
    
    .biography-social-buttons .social-btn-round:hover::before {
        width: 120px;
        height: 120px;
    }
    
    .biography-social-buttons .social-icon-img {
        width: 60px;
        height: 60px;
    }
    
    .social-btn-round .social-icon {
        font-size: 1.1rem;
    }
    
    .social-btn-round .social-icon-img {
        width: 60px;
        height: 60px;
    }
    
    .app-social-buttons {
        gap: 10px;
        margin-top: 20px;
    }

    .app-grid {
        padding: 24px;
    }

    .app-download-title {
        font-size: 1rem;
        margin-bottom: 12px;
        padding: 0 10px;
    }

    .app-buttons {
        gap: 12px;
    }

    /* Размеры кнопок на мобильных - немного меньше чем на десктопе, но не слишком */
    .rystore-btn-3d,
    .appstore-btn-3d,
    .playmarket-btn-3d {
        padding: 14px 20px;
        gap: 14px;
        min-width: 260px;
    }

    .rystore-icon-container {
        width: 60px;
        height: 60px;
    }
    
    .appstore-icon-container,
    .playmarket-icon-container {
        width: 55px;
        height: 55px;
    }

    .rystore-logo-img {
        width: auto;
        height: 44px;
        max-width: 44px;
    }
    
    .appstore-logo-img,
    .playmarket-logo-img {
        width: auto;
        height: 36px;
        max-width: 36px;
    }

    .rystore-text .top,
    .appstore-text .top,
    .playmarket-text .top {
        font-size: 13px;
    }

    .rystore-text .bottom,
    .appstore-text .bottom,
    .playmarket-text .bottom {
        font-size: 22px;
    }

    .app-benefit {
        padding: 16px 18px 16px 40px;
    }
    
    .blog-content h3 {
        font-size: 1.3rem;
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form button {
        padding: 14px;
        font-size: 0.95rem;
    }
    
    .contact-form textarea {
        min-height: 100px;
    }
    
    .social-icons a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    #backToTop {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* Flip Button Styles */
.btn-flip {
    opacity: 1;
    outline: 0;
    color: #fff;
    line-height: 40px;
    position: relative;
    text-align: center;
    letter-spacing: 1px;
    display: inline-block;
    text-decoration: none;
    font-family: 'Open Sans';
    text-transform: uppercase;
    border: 2px solid #00FFC8;
    box-shadow: 0 0 10px rgba(0, 255, 200, 0.5),
                0 0 20px rgba(0, 255, 200, 0.3),
                0 0 30px rgba(0, 255, 200, 0.2),
                inset 0 0 10px rgba(0, 255, 200, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    padding-left: 60px;
    min-height: 40px;
    height: auto;
}

.btn-flip:hover {
    box-shadow: 0 0 15px rgba(0, 255, 200, 0.8),
                0 0 30px rgba(0, 255, 200, 0.5),
                0 0 45px rgba(0, 255, 200, 0.3),
                inset 0 0 15px rgba(0, 255, 200, 0.2);
    border-color: #00FFC8;
}

.btn-flip:hover:after {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

.btn-flip:hover:before {
    opacity: 0;
    transform: translateY(50%) rotateX(90deg);
}

.btn-flip:after {
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    color: #323237;
    display: block;
    transition: 0.5s;
    position: absolute;
    background: #adadaf;
    content: attr(data-back);
    transform: translateY(-50%) rotateX(90deg);
    padding: 0 30px;
    padding-left: 60px;
    line-height: 40px;
    z-index: 2;
    min-height: 40px;
}

.btn-flip:before {
    top: 0;
    left: 0;
    opacity: 1;
    width: 100%;
    color: #adadaf;
    display: block;
    padding: 0 30px;
    padding-left: 60px;
    line-height: 40px;
    transition: 0.5s;
    position: relative;
    background: #323237;
    content: attr(data-front);
    transform: translateY(0) rotateX(0);
    z-index: 2;
    min-height: 40px;
}

.btn-flip .btn-logo {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    object-fit: contain;
    z-index: 5;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.btn-flip:hover .btn-logo {
    transform: translateY(-50%) scale(1.1);
}

.btn-flip.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: 0 0 5px rgba(0, 255, 200, 0.2);
}

/* RuStore 3D Button Styles */
.rystore-btn-3d {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 
        0 6px 15px rgba(0, 0, 0, 0.1),
        inset 0 -3px 8px rgba(0, 0, 0, 0.05),
        inset 0 3px 8px rgba(255, 255, 255, 0.8);
    border: 2px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    min-width: 280px;
    justify-content: flex-start;
}

.rystore-btn-3d:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 12px 25px rgba(0, 0, 0, 0.15),
        inset 0 -6px 15px rgba(0, 0, 0, 0.08),
        inset 0 6px 15px rgba(255, 255, 255, 0.9);
}

.rystore-btn-3d:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 
        0 6px 15px rgba(0, 0, 0, 0.1),
        inset 0 -3px 8px rgba(0, 0, 0, 0.05),
        inset 0 3px 8px rgba(255, 255, 255, 0.85);
}

.rystore-icon-container {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4D4DFF, #6C6CFF);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        inset 0 3px 6px rgba(255, 255, 255, 0.3),
        0 3px 9px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.rystore-icon-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #3A3AFF, #5A5AFF);
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rystore-btn-3d:hover .rystore-icon-container::before {
    opacity: 1;
}

.rystore-logo-img {
    width: auto;
    height: 50px;
    max-width: 50px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.rystore-btn-3d:hover .rystore-logo-img {
    transform: scale(1.05);
}

.rystore-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.rystore-text .top {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    letter-spacing: 0.2px;
}

.rystore-text .bottom {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.5px;
    font-family: 'Segoe UI', sans-serif;
}

/* AppStore 3D Button Styles */
.appstore-btn-3d {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 
        0 6px 15px rgba(0, 0, 0, 0.1),
        inset 0 -3px 8px rgba(0, 0, 0, 0.05),
        inset 0 3px 8px rgba(255, 255, 255, 0.8);
    border: 2px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    min-width: 280px;
    justify-content: flex-start;
}

.appstore-btn-3d:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 12px 25px rgba(0, 0, 0, 0.15),
        inset 0 -6px 15px rgba(0, 0, 0, 0.08),
        inset 0 6px 15px rgba(255, 255, 255, 0.9);
}

.appstore-btn-3d:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 
        0 6px 15px rgba(0, 0, 0, 0.1),
        inset 0 -3px 8px rgba(0, 0, 0, 0.05),
        inset 0 3px 8px rgba(255, 255, 255, 0.85);
}

.appstore-icon-container {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007AFF, #0A84FF);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        inset 0 3px 6px rgba(255, 255, 255, 0.3),
        0 3px 9px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.appstore-icon-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0062CC, #0A74E0);
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.appstore-btn-3d:hover .appstore-icon-container::before {
    opacity: 1;
}

.appstore-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.appstore-btn-3d:hover .appstore-logo-img {
    transform: scale(1.05);
}

.appstore-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.appstore-text .top {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    letter-spacing: 0.2px;
}

.appstore-text .bottom {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.5px;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* PlayMarket 3D Button Styles */
.playmarket-btn-3d {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 
        0 6px 15px rgba(0, 0, 0, 0.1),
        inset 0 -3px 8px rgba(0, 0, 0, 0.05),
        inset 0 3px 8px rgba(255, 255, 255, 0.8);
    border: 2px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    min-width: 280px;
    justify-content: flex-start;
}

.playmarket-btn-3d:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 12px 25px rgba(0, 0, 0, 0.15),
        inset 0 -6px 15px rgba(0, 0, 0, 0.08),
        inset 0 6px 15px rgba(255, 255, 255, 0.9);
}

.playmarket-btn-3d:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 
        0 6px 15px rgba(0, 0, 0, 0.1),
        inset 0 -3px 8px rgba(0, 0, 0, 0.05),
        inset 0 3px 8px rgba(255, 255, 255, 0.85);
}

.playmarket-icon-container {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        inset 0 3px 6px rgba(255, 255, 255, 0.3),
        0 3px 9px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.playmarket-icon-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #388E3C, #558B2F);
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.playmarket-btn-3d:hover .playmarket-icon-container::before {
    opacity: 1;
}

.playmarket-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.playmarket-btn-3d:hover .playmarket-logo-img {
    transform: scale(1.05);
}

.playmarket-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.playmarket-text .top {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    letter-spacing: 0.2px;
}

.playmarket-text .bottom {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.5px;
    font-family: 'Google Sans', Roboto, Arial, sans-serif;
}

/* Disabled state for 3D buttons */
.playmarket-btn-3d.disabled,
.appstore-btn-3d.disabled,
.rystore-btn-3d.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(0.3);
}

.playmarket-btn-3d.disabled:hover,
.appstore-btn-3d.disabled:hover,
.rystore-btn-3d.disabled:hover {
    transform: none;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.1),
        inset 0 -4px 10px rgba(0, 0, 0, 0.05),
        inset 0 4px 10px rgba(255, 255, 255, 0.8);
}

.playmarket-btn-3d.disabled .playmarket-icon-container::before,
.appstore-btn-3d.disabled .appstore-icon-container::before,
.rystore-btn-3d.disabled .rystore-icon-container::before {
    opacity: 0;
}

.playmarket-btn-3d.disabled:hover .playmarket-logo-img,
.appstore-btn-3d.disabled:hover .appstore-logo-img,
.rystore-btn-3d.disabled:hover .rystore-logo-img {
    transform: none;
}