@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #1e1e1e;
    color: #ffffff;
    line-height: 1.6;
}

header {
    text-align: center;
    padding: 20px;
    background-color: #252525;
    border-bottom: 2px solid #ca1c1c;
}

header h1 {
    font-size: 2rem;
    color: #ca1c1c;
}

header p {
    font-size: 1rem;
}

.payment-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #2c2c2c;
    border-radius: 8px;
}

.tier-selection h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.tier-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.tier-card {
    background-color: #3a3a3a;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    flex: 1;
    min-width: 120px;
}

.tier-card:hover,
.tier-card.selected {
    border-color: #ca1c1c;
    background-color: #252525;
}

.tier-card h3 {
    font-size: 1.3rem;
    color: #ffffff;
}

.tier-card p {
    font-size: 1rem;
    color: #b3b3b3;
}

.price-summary {
    margin: 20px 0;
    text-align: center;
    font-size: 1.3rem;
}

.price-summary #total-price {
    font-size: 1.5rem;
    color: #ca1c1c;
}

.payment-options h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.payment-methods {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.method {
    text-align: center;
    flex: 1;
}

/* Common button styles */
.payment-button, .gumroad-button {
    display: inline-block;
    padding: 12px 24px;  /* Increase padding for a larger button */
    background-color: #ca1c1c;  /* Matching the Gumroad button color */
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none; /* Removes underline from <a> tag */
    font-weight: bold;
    font-size: 16px;  /* Set a uniform font size */
    text-align: center;
    border: none; /* Ensures no border on the <button> */
    cursor: pointer; /* Makes the link look clickable */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    line-height: 1.5; /* Ensures the text is vertically centered */
}

.payment-button:hover, .gumroad-button:hover {
    background-color: #ff4d4d;  /* Lighter shade for hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add subtle shadow for hover */
}


/* Agreement styling */
#agreement {
    display: block;
    margin-top: 30px;
    text-align: center;
    color: #b3b3b3; /* Lighter color for better readability */
    font-size: 0.9rem; /* Slightly smaller for better flow */
    line-height: 1.6;
}

#agreement a {
    color: #ca1c1c; /* Highlight link in red */
    text-decoration: none;
}

#agreement a:hover {
    text-decoration: underline;
    color: #ff4d4d; /* Change color when hovered */
}

#return-home {
    display: block;
    margin-top: 20px;
    text-align: center;
    color: #ffffff;
    text-decoration: underline;
}

#return-home:hover {
    color: #ca1c1c;
}
