@font-face {
    font-family: 'IranianSans';
    src: url('/main/fonts/IranianSans.ttf') format('truetype');
}

.gh-main-body {
    font-family: 'IranianSans', sans-serif;
    color: #FFFFFF;
    margin: 0;
    padding: 0;
    background-color: #212121;
}

.gh-main-content {
    margin-top: 80px;
}

.gh-password-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background: #2A2A2A;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.gh-password-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #FFFFFF;
}

.gh-password-countdown {
    font-size: 16px;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.gh-password-error {
    font-size: 14px;
    color: #FF5252;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.gh-password-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gh-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gh-form-group label {
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FFFFFF;
}

.gh-form-group input {
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: #424242;
    color: #FFFFFF;
    font-size: 14px;
}

.gh-password-submit {
    font-family: 'IranianSans', sans-serif;
    padding: 10px 20px;
    background: linear-gradient(45deg, #1B5E20, #2E7D32);
    border: none;
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gh-password-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 94, 32, 0.6);
}

.gh-main-box {
    position: relative;
    min-height: 800px;
    padding: 40px 20px 100px;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

@media (min-width: 768px) {
    .gh-main-box {
        background-image: var(--desktop-bg);
    }
}

@media (max-width: 767px) {
    .gh-main-box {
        background-image: var(--mobile-bg);
        min-height: 600px;
        padding: 30px 15px 80px;
    }
}

.gh-hero-section {
    text-align: center;
    padding: 80px 20px;
    position: relative;
    z-index: 1;
}

.gh-hero-title {
    font-size: 52px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.gh-hero-logo-img {
    max-height: 40px; /* Match original icon size */
    max-width: 120px; /* Approximate 3:1 ratio (40px * 3) */
    width: auto;
    object-fit: contain;
    border-radius: 5px;
}

.gh-hero-subtitle {
    font-size: 22px;
    margin-bottom: 30px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.gh-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.gh-btn-primary, .gh-btn-secondary {
    font-family: 'IranianSans', sans-serif;
    color: #FFFFFF;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 20px;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.gh-btn-primary {
    background: #33691E;
    border: 1px solid #33691E;
}

.gh-btn-secondary {
    background-color: transparent;
    border: 1px solid #FFFFFF;
}

.gh-btn-primary:hover, .gh-btn-secondary:hover {
    background: linear-gradient(45deg, #2E7D32, #43A047);
    border-color: #2E7D32;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(27, 94, 32, 0.6);
}

.gh-features-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.gh-feature-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    min-height: 250px;
    position: relative;
}

.gh-feature-card {
    text-align: center;
    padding: 20px;
    background: transparent;
    border-radius: 12px;
    width: 300px;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.gh-feature-card:hover {
    transform: translateY(-5px);
}

.gh-feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: #FFFFFF;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.gh-feature-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #FFFFFF;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.gh-feature-text {
    font-size: 16px;
    line-height: 1.6;
    color: #FFFFFF;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.gh-cta-section {
    text-align: center;
    padding: 50px 20px;
    background: #212121;
    max-width: 1200px;
    margin: 20px auto;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.gh-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(27, 94, 32, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.gh-cta-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 8px rgba(27, 94, 32, 0.4);
    position: relative;
    z-index: 1;
    animation: glowText 2s ease-in-out infinite;
}

.gh-btn-cta {
    font-family: 'IranianSans', sans-serif;
    color: #FFFFFF;
    text-decoration: none;
    padding: 14px 28px;
    background: linear-gradient(45deg, #1B5E20, #2E7D32);
    border: none;
    border-radius: 20px;
    font-size: 17px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    z-index: 1;
}

.gh-btn-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(27, 94, 32, 0.6), 0 0 15px rgba(27, 94, 32, 0.4);
}

.gh-crypto-section {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

.gh-crypto-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    padding: 15px 0;
}

.gh-crypto-row {
    display: contents;
}

.gh-crypto-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: #424242;
    border: 1px solid rgba(27, 94, 32, 0.3);
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gh-crypto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(27, 94, 32, 0.6), 0 0 15px rgba(27, 94, 32, 0.4);
}

.gh-crypto-icon {
    font-size: 28px;
    color: #1B5E20;
    filter: drop-shadow(0 0 6px rgba(27, 94, 32, 0.5));
}

.gh-crypto-name {
    font-family: 'IranianSans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 0 0 5px rgba(27, 94, 32, 0.4);
}

.gh-crypto-price {
    font-family: 'IranianSans', sans-serif;
    font-size: 16px;
    color: #FFFFFF;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gh-price-status {
    font-size: 10px;
    color: #1B5E20;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes glowText {
    0%, 100% {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 8px rgba(27, 94, 32, 0.4);
    }
    50% {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 12px rgba(27, 94, 32, 0.7);
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

@media (max-width: 767px) {
    .gh-password-container {
        max-width: 90%;
        padding: 15px;
    }
    .gh-password-title {
        font-size: 20px;
    }
    .gh-password-countdown {
        font-size: 14px;
    }
    .gh-password-error {
        font-size: 13px;
    }
    .gh-form-group label {
        font-size: 14px;
    }
    .gh-form-group input {
        font-size: 13px;
        padding: 8px;
    }
    .gh-password-submit {
        font-size: 14px;
        padding: 8px 16px;
    }
    .gh-hero-section {
        padding: 60px 15px;
    }
    .gh-hero-title {
        font-size: 32px;
    }
    .gh-hero-logo-img {
        max-height: 30px; /* Match original icon size for mobile */
        max-width: 90px; /* Approximate 3:1 ratio (30px * 3) */
    }
    .gh-hero-subtitle {
        font-size: 18px;
    }
    .gh-hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .gh-btn-primary, .gh-btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        margin: 0 auto;
    }
    .gh-features-section {
        margin: 30px auto;
    }
    .gh-feature-container {
        flex-direction: column;
        align-items: center;
        min-height: 150px;
    }
    .gh-feature-card {
        position: absolute;
        width: 100%;
        max-width: 300px;
        box-shadow: none;
        display: none;
    }
    .gh-feature-card.active {
        display: block;
    }
    .gh-cta-section {
        padding: 40px 15px;
        margin: 15px auto;
    }
    .gh-cta-title {
        font-size: 28px;
    }
    .gh-btn-cta {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        font-size: 16px;
    }
    .gh-crypto-section {
        margin: 10px auto;
    }
    .gh-crypto-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    .gh-crypto-card {
        padding: 10px 16px;
    }
    .gh-crypto-icon {
        font-size: 24px;
    }
    .gh-crypto-name {
        font-size: 16px;
    }
    .gh-crypto-price {
        font-size: 14px;
    }
}